Created
December 15, 2010 04:26
-
-
Save jaykz52/741626 to your computer and use it in GitHub Desktop.
An example of utilizing variables in Sass files
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
$main-color: #701A14; | |
$sub-color: #A64C32; | |
$accent-color: #BF8B5B; | |
/* Changing color schemes is as simple as updating the 3 lines above */ | |
p { | |
color: $main-color; | |
background-color: $sub-color; | |
.accent { | |
color: $sub-color; | |
} | |
} | |
/* ... */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment