Skip to content

v0.155.0 — a scrollbar in the surface's colors

Choose a tag to compare

@robertblust robertblust released this 13 Oct 14:15
6f4c29b

A scrollbar in the chat and the card is drawn in the surface's colors (#288). A browser that draws a scrollbar at all times, as Edge on Windows does, painted its own pale bar down the dark chat panel, because nothing in the package set a scrollbar's color. The panel now sets scrollbar-color to --t-dim on no track, once, and the log, a wide table, a picture's box and the input inherit it. The stage's card body does the same with --dim. Both follow the theme, because the tokens do. The page's own scrollbar and the bar's width stay the browser's.

What breaks. Nothing. No selector, token or script changes its name or its meaning; two rules gain one declaration each.

How to take it. Re-pin and run npm run design; chat.css and stage.css are the synced files that change.

Verified: npm test (1073 pass), conventions-check and conventions-format pass on the release commit; in Chromium the log, the table, the picture's box and the input compute the token's color in both themes, and the owner reviewed the chat panel on a private preview of blust.ch's homepage carrying this chat.css. Not looked at: the card's scrollbar in a browser that draws one at all times.