]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
css: adjust lightmode input bg colors for improved visibility master
authorRito Rhymes <rito@ritovision.com>
Thu, 2 Apr 2026 23:00:48 +0000 (19:00 -0400)
committerEric Wong <e@80x24.org>
Fri, 3 Apr 2026 17:56:13 +0000 (17:56 +0000)
In the light theme, form controls using browser defaults often
lack contrast with the page background, making them less easy to
identify as interactive fields. Give inputs and textareas a
distinct background so they are visually identifiable from
surrounding content without being distracting.

#cfc is salient enough to stand out across low-to-high brightness
settings consistently. It is not intense. It fits naturally
within a light mode palette and does not require inverting the
text color to maintain readability (no extra CSS).

Signed-off-by: Rito Rhymes <rito@ritovision.com>
contrib/css/216light.css

index 0c781d535f4c43bda3648347ae2d6d709e96db7c..c428e81f3b9dad651500b6d02088c8abd0a8b18e 100644 (file)
@@ -6,6 +6,8 @@
  */
 * { font-size: 100%; font-family: monospace; background:#fff; color:#003 }
 pre { white-space: pre-wrap }
+input,
+textarea { background:#cfc }
 
 /*
  * Underlined links add visual noise which make them hard-to-read.