From 378a8cdab5ac21b3745ed46d5056deb845d03e3d Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 7 Aug 2026 22:50:53 -0400 Subject: [PATCH] Light mode: fix native select popup rendering with dark chrome .lt-select declares `color-scheme: dark` on the element itself, which beats the `color-scheme: light` set on by the light theme, so browsers drew the dropdown popup (and its scrollbar) with dark chrome even in light mode. The option list is also hardcoded to #0d1117/#c9d1d9 with no light override. Adds light-mode overrides for both: `color-scheme: light` per element, option colours from --bg-input/--text-primary, and the checked/hover highlight from --accent-orange-dim/--accent-orange. Verified with computed styles in headless chromium: in light mode the select reports color-scheme light, unselected options are #ffffff on near-black text, and the checked option uses the orange tint instead of #1a2030. --- base.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/base.css b/base.css index 3db245d..d24ebd5 100644 --- a/base.css +++ b/base.css @@ -3745,6 +3745,25 @@ html[data-theme="light"] .lt-textarea:focus-visible { border-color: var(--accent-cyan); box-shadow: var(--box-glow-cyan); } + +/* Native