]> git.cworth.org Git - lmno.games/blobdiff - style.css
Add a new color --text-fg-on-accent-bright
[lmno.games] / style.css
index b770986f8164b899764069f1e9f736d32a5338cd..240014ad57e7190549f40f315b020c8107e4379c 100644 (file)
--- a/style.css
+++ b/style.css
@@ -22,6 +22,8 @@
     /* A little color to avoid a fully monochromatic theme. */
     --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;
@@ -261,7 +263,7 @@ button {
     border-radius: 4px;
     background-color: var(--accent-color);
     border: none;
-    color: white;
+    color: var(--text-fg-on-accent);
     text-align: center;
     font-size: 125%;
     margin-top: .25em;