Skip to content

Instantly share code, notes, and snippets.

@waako
Created March 31, 2014 18:23
Show Gist options
  • Save waako/9898858 to your computer and use it in GitHub Desktop.
Save waako/9898858 to your computer and use it in GitHub Desktop.
swap out less for sass
1. replace @ with $
Find: @
Replace: $
2. replace mixins
Find: \.([\w\-]*)\s*\((.*)\)\s*\{
Replace: @mixin \1\(\2\)\n{
3. replace includes
Find: \.([\w\-]*\(.*\)\s*;)
Replace: @include \1
4. replace string literals
Find: ~"(.*)"
Replace: #{"\1"}
5. replace spin to adjust-hue (function name diff)
Find: spin
Replace: adjust-hue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment