Skip to content

Commit

Permalink
fix(headers): Fixes SCSS to give section.primary appropriate backgrou…
Browse files Browse the repository at this point in the history
…nd color, closes #41
  • Loading branch information
Alec Sibilia authored and jgodi committed May 5, 2016
1 parent 244c557 commit a36058a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/elements/header/_Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,36 @@ header {
&[theme="#{$analytics}"] {
background: $color;
color: #fff;

& > section.primary {
background: $color;
}
}
}
@each $entity, $color in $entity-colors {
&[theme="#{$entity}"] {
background: $color;
color: #fff;

& > section.primary {
background: $color;
}
}
}
@each $basic, $color in $colors {
&[theme="#{$basic}"] {
background: $color;
color: #fff;

& > section.primary {
background: $color;
}
}
}
&[theme="white"],

&[theme="light"],
&[theme="off-white"],
&[theme="light"] {
&[theme="white"] {
color: $dark;
}
}
Expand Down

0 comments on commit a36058a

Please sign in to comment.