Created
March 31, 2014 18:23
-
-
Save waako/9898858 to your computer and use it in GitHub Desktop.
swap out less for sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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