webui: color-scheme is never set in CSS, so native controls render light in the dark theme #1473

Closed
opened 2026-10-27 13:40:32 +00:00 by sam · 0 comments
Owner

color-scheme computes to normal on :root despite data-theme="dark". The only
declaration anywhere is <meta name="color-scheme" content="dark light"> in
ui/index.html:6, which states a preference rather than binding the scheme to the active
theme. Nothing in css/tokens.css sets it.

Result: the UA paints light scrollbars and light native form controls inside the dark UI.
Visible as a light scrollbar on the dashboard and tasks pages, inside the Most failures
card on Workflows, and mid-panel in the mobile chat drawer.

Expected

[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

Scrollbars, selects and date/number controls then follow the theme toggle.

Close reason

Closed


Imported from beads archie-core-nm0y · GitHub #969 · type bug · priority P1 · created 2026-09-20 · closed 2026-09-20

`color-scheme` computes to `normal` on `:root` despite `data-theme="dark"`. The only declaration anywhere is `<meta name="color-scheme" content="dark light">` in `ui/index.html:6`, which states a preference rather than binding the scheme to the active theme. Nothing in `css/tokens.css` sets it. Result: the UA paints light scrollbars and light native form controls inside the dark UI. Visible as a light scrollbar on the dashboard and tasks pages, inside the Most failures card on Workflows, and mid-panel in the mobile chat drawer. ### Expected ```css [data-theme="dark"] { color-scheme: dark; } [data-theme="light"] { color-scheme: light; } ``` Scrollbars, selects and date/number controls then follow the theme toggle. ### Close reason Closed --- _Imported from beads `archie-core-nm0y` · GitHub #969 · type bug · priority P1 · created 2026-09-20 · closed 2026-09-20_
sam added the highbug labels 2026-10-27 13:40:32 +00:00
sam self-assigned this 2026-10-27 13:40:32 +00:00
sam closed this issue 2026-10-27 13:40:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1473