Skip to content

Commit 48d9d0a

Browse files
chris-lawtonhelenb
authored andcommitted
update nav border and underline colour for light and dark mode
1 parent daab199 commit 48d9d0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tbx/static_src/sass/config/_variables.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ $color--grey-10: #e6e6e6;
4242
$color--grey-20: #ccc;
4343
$color--grey-30: #b3b3b3;
4444
$color--grey-40: #999;
45-
$color--grey-45: #989b9b;
4645
$color--grey-50: #808080;
4746
$color--grey-60: #666;
4847
$color--grey-70: #4d4d4d;
@@ -60,14 +59,14 @@ $color--earth-streamfield-background: #e6e3df;
6059
--color--background: #{$color--eclipse};
6160
--color--footer-background: #{$color--dark-background};
6261
--color--nav-text: #{$color--grey-5};
63-
--color--nav-border: #{color.adjust($color--eclipse, $alpha: -0.5)};
62+
--color--nav-border: #{color.adjust($color--eclipse, $alpha: -0.3)};
6463
--color--light-background-text: #{$color--eclipse};
6564
--color--heading: #{$color--white};
6665
--color--heading-50: #{color.adjust($color--white, $alpha: -0.5)};
6766
--color--text: #{$color--grey-20};
6867
--color--text-50: #{color.adjust($color--grey-20, $alpha: -0.5)};
6968
--color--link: #{$color--white};
70-
--color--link-underline: #{$color--grey-45};
69+
--color--link-underline: #{color.adjust($color--white, $alpha: -0.5)};
7170
--color--link-interaction: #{$color--white};
7271
--color--streamfield-background: #{$color--mid-grey};
7372
--color--decoration: #{$color--grey-50};
@@ -180,13 +179,14 @@ $color--earth-streamfield-background: #e6e3df;
180179
// redeclare any base variables that are different in light mode (these ones don't change with the theme)
181180
--color--background: #{$color--white};
182181
--color--nav-text: #{$color--eclipse};
182+
--color--nav-border: #{color.adjust($color--white, $alpha: -0.3)};
183183
--color--heading: #{$color--eclipse};
184184
--color--heading-50: #{color.adjust($color--eclipse, $alpha: -0.5)};
185185
--color--text: #{$color--grey-70};
186186
--color--text-50: #{color.adjust($color--grey-70, $alpha: -0.5)};
187187
--color--decoration: #{$color--eclipse};
188188
--color--link: #{$color--eclipse};
189-
--color--link-underline: #{$color--eclipse};
189+
--color--link-underline: #{color.adjust($color--eclipse, $alpha: -0.5)};
190190
--color--link-interaction: #{$color--eclipse};
191191
--color--streamfield-background: #{$color--grey-5};
192192
}

0 commit comments

Comments
 (0)