From a36058ad360bb484beccb1e971044062c06dc587 Mon Sep 17 00:00:00 2001 From: Alec Sibilia Date: Thu, 5 May 2016 14:42:03 -0400 Subject: [PATCH] fix(headers): Fixes SCSS to give section.primary appropriate background color, closes #41 --- src/elements/header/_Header.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/elements/header/_Header.scss b/src/elements/header/_Header.scss index ce90216bd..8dd0c8766 100644 --- a/src/elements/header/_Header.scss +++ b/src/elements/header/_Header.scss @@ -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; } }