Skip to content

Instantly share code, notes, and snippets.

@jaykz52
Created December 15, 2010 04:26
Show Gist options
  • Save jaykz52/741626 to your computer and use it in GitHub Desktop.
Save jaykz52/741626 to your computer and use it in GitHub Desktop.
An example of utilizing variables in Sass files
$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