From c7142ec7475a8444f50ba62db7d0b64d5ad31a9f Mon Sep 17 00:00:00 2001 From: BobChao87 Date: Thu, 9 Dec 2021 03:58:40 -0800 Subject: [PATCH] Slightly lighten the general site font This puts us in AA compliance for contrast over most of the site --- assets/global.scss | 5 +++++ assets/themes/default.scss | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/assets/global.scss b/assets/global.scss index 34c1aac6..53e8c0e9 100644 --- a/assets/global.scss +++ b/assets/global.scss @@ -20,6 +20,11 @@ a { } } +.navbar-item, +.navbar-link { + color: inherit; +} + .title { word-break: normal; // Line break is kinda like word break, but for languages without spaces, like Chinese, Japanese, or Korean diff --git a/assets/themes/default.scss b/assets/themes/default.scss index 89ef4dc3..6b6541b5 100644 --- a/assets/themes/default.scss +++ b/assets/themes/default.scss @@ -1,3 +1,7 @@ @import 'bulmaswatch/solar/variables'; + +// Improve text contrast for accessibility (this is just solar's color with 5 percentage points extra luminance) +$text: #91a0a1; + @import 'bulma'; @import 'bulmaswatch/solar/overrides';