]> git.cworth.org Git - lmno.games/commitdiff
Add a new color --text-fg-on-accent-bright
authorCarl Worth <cworth@cworth.org>
Mon, 8 Jun 2020 16:11:03 +0000 (09:11 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 8 Jun 2020 16:11:03 +0000 (09:11 -0700)
For allowing the designer to select what color text should be when on
a background of --accent-color-bright.

Note: The value for this color happens to match the color of
previously-defined values currently, but that's just me throwing
programmer-art colors in place. That's why we don't reference an
existing variable in the value here, even though the color is
currently identical to a previous one, (we wouldn't want a designer to
think they are necessarily linked).

style.css

index 877ef5980b7340d1453a2107cf6f0c76349f1f82..240014ad57e7190549f40f315b020c8107e4379c 100644 (file)
--- a/style.css
+++ b/style.css
@@ -23,6 +23,7 @@
     --accent-color: #287789;
     --accent-color-bright: #44c7ef;
     --text-fg-on-accent: white;
     --accent-color: #287789;
     --accent-color-bright: #44c7ef;
     --text-fg-on-accent: white;
+    --text-fg-on-accent-bright: #333738;
 
     /* Some colors intended to convey semnatics. */
     --warning-color: #ffa92a;
 
     /* Some colors intended to convey semnatics. */
     --warning-color: #ffa92a;