~bigbes/sr-ht-dolt: 76bf70dd

fix(web): make the beads view inherit the SourceHut theme

The beads board shipped its own Mardi Gras palette — a purple→green
marquee gradient and saturated solid lane fills — that clashed with
SourceHut's flat, utilitarian dark theme, and the detail pane's field
labels were a hardcoded dark purple with no dark-mode override, leaving
"Created by / Owner / Description" unreadable on the dark background.

Drive everything from CSS variables that mirror core.sr.ht's Bootstrap
palette for both the light default and the prefers-color-scheme: dark
variant sourcehut ships (the same media query it uses), so the view
inherits the host theme instead of fighting it. Lane hues become muted
Mardi Gras accents (gold/green/violet/gray) used only as thin borders and
low-alpha tints — never as body text — so contrast holds on either theme.
The marquee is now a flat stat row, lanes an understated panel with an
accent underline, and detail labels a readable muted caption. Verified
light and dark via a headless render.

Eugene Blikh <bigbes@gmail.com> — 2026-07-18 21:50:48 UTC

Commit 76bf70dd30426965ce5f6a4ce8d4a6dc9fe7bb7cview raw patch

Parent(s): 8f5ae3f0

2 changed file(s)

FileStatus+
web/beads.go M +11 -7
web/templates/beads.html M +96 -65