Skip to content

Commit a2859b5

Browse files
authored
chore: aligned header background-colors (#110)
chore: aligned background-color by header area and mainnavigation component
1 parent e734ee3 commit a2859b5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

source/_patterns/02-components/mainnavigation/_mainnavigation.variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@import "../../00-base/icons/icons.helpers";
44

55
$header-big-link-paddingTop: 32 * 0.0625 !default;
6+
$header---backgroundColor: #fdfdfd !default; // TODO: This would need to get replaced by the correct (semantic) color
67

78
// * reduced height
89
// $header-big-link-paddingTop: 19*0.0625 !default;

source/_patterns/02-components/mainnavigation/mainnavigation.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
@include icon(glyph(menu), 24, "outline", $partial: $partial);
3737
@include icon(glyph(close), 24, "outline", "after", $partial: $partial);
3838

39-
background-color: #fdfdfd; // TODO: This would need to get replaced by the correct (semantic) color
39+
background-color: $header---backgroundColor; // TODO: This would need to get replaced by the correct (semantic) color
4040

4141
border-bottom: 1px solid $db-color-warm-gray-100;
4242

@@ -79,7 +79,7 @@
7979
}
8080

8181
ul {
82-
background-color: #fff;
82+
background-color: $header---backgroundColor;
8383
}
8484

8585
// Multiple level navigation

source/_patterns/03-areas/00-header/_header.variables.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ $header---borderBottom: #{to-rem(
1313
$header---marginBottom: to-rem(
1414
$pxValue: 16
1515
) !default;
16-
17-
$header---backgroundColor: #fdfdfd !default; // TODO: This would need to get replaced by the correct (semantic) color

0 commit comments

Comments
 (0)