Skip to content

Instantly share code, notes, and snippets.

@xdemocle
Created June 26, 2014 14:02
Show Gist options
  • Save xdemocle/2a637315b40ef0b29c9f to your computer and use it in GitHub Desktop.
Save xdemocle/2a637315b40ef0b29c9f to your computer and use it in GitHub Desktop.
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