#273: theme-aware scrollbars #275

Merged
fen merged 1 commits from fix-273 into dev 2026-09-17 23:45:41 +00:00
Collaborator

Ref #273

  • scrollbar-width: thin + scrollbar-color: var(--border) transparent on all scrollers (standard props; Chromium >= 121 and Firefox honor them)
  • ::-webkit-scrollbar/-thumb/-track/-corner rules as fallback for finer Chromium styling; thumb uses var(--border), hover var(--muted-fg)
  • All colors from CSS variables so scrollbars track the active preset; CSS only in app.css, no inline styles, no CSP risk

Verified on a local build with CDP probes: computed scrollbar-color differs per preset (dark rgb(66,53,92), light pastel-lavender rgb(196,182,224)) on documentElement and the paste-view .codebody horizontal scroller (wrap OFF, scrollableX true), at 1400x900 and 375x812. go build + go test pass.

Ref #273 - `scrollbar-width: thin` + `scrollbar-color: var(--border) transparent` on all scrollers (standard props; Chromium >= 121 and Firefox honor them) - `::-webkit-scrollbar`/`-thumb`/`-track`/`-corner` rules as fallback for finer Chromium styling; thumb uses var(--border), hover var(--muted-fg) - All colors from CSS variables so scrollbars track the active preset; CSS only in app.css, no inline styles, no CSP risk Verified on a local build with CDP probes: computed scrollbar-color differs per preset (dark rgb(66,53,92), light pastel-lavender rgb(196,182,224)) on documentElement and the paste-view .codebody horizontal scroller (wrap OFF, scrollableX true), at 1400x900 and 375x812. go build + go test pass.
fen added 1 commit 2026-09-17 23:44:17 +00:00
#273: theme-aware scrollbars via scrollbar-width/scrollbar-color + webkit fallbacks
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 24s
714b4691e9
fen merged commit ad397b80d0 into dev 2026-09-17 23:45:41 +00:00
Sign in to join this conversation.