Created
October 15, 2013 17:41
-
-
Save janson/6995523 to your computer and use it in GitHub Desktop.
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
// $*-color are sass variables defined elsewhere | |
$brands: (bandcamp $bandcamp-color) (twitter $twitter-color) (facebook $facebook-color) (foobar $foobar-color) | |
@each $brand in $brands | |
$klass: nth($brand, 1) | |
$kolor: nth($brand, 2) | |
//@debug "brand class is #{$klass} and color is #{$kolor}" | |
// | |
// Foreground Color | |
// | |
body.#{$klass} | |
h1, | |
h2, | |
h4.titles, | |
.secondary nav ol a.current, | |
.secondary nav ol a:hover | |
color: $kolor | |
// | |
// Background Color | |
// | |
body.#{$klass} | |
header[role=banner] #browse, | |
header[role=banner] .division-icon, | |
header[role=banner] #ribbon.book-esources, | |
background-color: $kolor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment