Skip to content

Instantly share code, notes, and snippets.

@zznq
Created November 13, 2013 21:41
Show Gist options
  • Save zznq/7456902 to your computer and use it in GitHub Desktop.
Save zznq/7456902 to your computer and use it in GitHub Desktop.
$program-colors: 'teal' #008e8d,
'yellow' #e6c01e,
'green' #00bb66,
'blue' #0071ba,
'teal' #0b667c,
'magenta' #cc0066,
'light-blue' #0091ed,
'red' #e93e1d;
.program {
@each $color in $program-colors {
&.#{nth($color, 1)} {
a {
background-color: nth($color, 2);
}
label {
background-color: darken(nth($color, 2), 10);
}
}
}
}
@brandonc
Copy link

Is SASS Turing complete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment