Skip to content

Commit 0682a15

Browse files
Change font color in navigation links to increase contrast (#2786)
Co-authored-by: E-Liang Tan <[email protected]>
1 parent 89103b0 commit 0682a15

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

website/src/styles/bootstrap/variable-overrides.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// Colors
44
$gray-dark: #222324;
55
$gray: #69707a;
6+
$gray-mid: #848490;
67
$gray-light: #aeb1b5;
78
$gray-lighter: #d3d6db;
89
$gray-lightest: #f3f5f8;

website/src/styles/utils/css-variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
// Shade of grays
2929
--gray: #{$gray};
30+
--gray-mid: #{$gray-mid};
3031
--gray-light: #{$gray-light};
3132
--gray-lighter: #{$gray-lighter};
3233
--gray-lightest: #{$gray-lightest};
@@ -58,6 +59,7 @@ body.mode-dark {
5859

5960
// Shade of grays
6061
--gray: #aaa;
62+
--gray-mid: #7d7d7d;
6163
--gray-light: #666;
6264
--gray-lighter: #474747;
6365
--gray-lightest: #292929;

website/src/views/layout/Navtabs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
flex: 1 0 auto;
5353
line-height: 1.6;
5454
text-align: center;
55-
color: var(--gray-light);
55+
color: var(--gray-mid);
5656
transition: color 0.15s;
5757

5858
&.linkActive {

0 commit comments

Comments
 (0)