Created
December 17, 2012 16:53
-
-
Save laurakalbag/4319769 to your computer and use it in GitHub Desktop.
Example of how repetitive hex colours in CSS can be replaced by Sass variables
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
// My Sass colour library | |
$brand-colour: #822733; | |
a { | |
color: $brand-colour; | |
} | |
.summary { | |
color: $brand-colour; | |
} | |
.copyright { | |
color: $brand-colour; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment