From: Carl Worth Date: Sun, 17 May 2020 15:56:54 +0000 (-0700) Subject: Use named color to set the character of the character-reveal element X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=29659e24a365855251f4269f373c3a230e924ec7 Use named color to set the character of the character-reveal element This makes me so happy! With these named colors, a low-level style file like this one now has no explicit color values in it, but instead simply inherits the defined, named colors from the theme above. --- diff --git a/empires/style.css b/empires/style.css index 5dcda65..8298a65 100644 --- a/empires/style.css +++ b/empires/style.css @@ -33,7 +33,7 @@ } #character-reveal { - color: #333738; + color: var(--text-fg-color); font-size: 300%; font-weight: bold; }