Repository navigation
v1.3.2 — readable buttons in dark mode
Readable buttons in dark mode. With the dark theme on, the primary buttons showed no label at all.
--dsw-alias-brand-primary is an inverting token: near-black in light mode, near-white in dark mode. The panel had color: #fff on every brand-filled control, so in dark mode it was white text on a near-white fill.
Text on a brand fill now takes var(--dsw-alias-bg-base), which inverts with the fill: light mode keeps white-on-near-black, dark mode becomes near-black-on-near-white. Applied to the primary button, the count badge, the frame-wide notice pill, and the send button.
Verified by rendering the panel and every brand-filled control with the real token values in both themes. A test parses the stylesheet and fails if a brand-filled rule hardcodes a white label again.
49 headless checks.