From: Martin Pitt Date: Wed, 23 Sep 2026 20:54:19 +0000 (+0200) Subject: Support dark mode X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=3255476fc1319e0ff2c1ea67ca1f14b243f36f6b;p=chordpro-web.git Support dark mode color-scheme lets the browser pick background and text colours from the user's preference. The light grey text shadow behind chords looks wrong on a dark background, and the bold red is legible without it. --- diff --git a/chordpro.css b/chordpro.css index 20bc7f9..020cbe5 100644 --- a/chordpro.css +++ b/chordpro.css @@ -1,3 +1,7 @@ +:root { + color-scheme: light dark; +} + body { font-family: sans-serif; } @@ -34,6 +38,5 @@ h2, .comment { padding-right: 0.3ex; color: #F33; font-weight: bold; - text-shadow: #CCC 1px 1px; } }