Skip to content

Style scrollbars as lightly as the mdbase editor - #17

Merged
callumalpass merged 1 commit into
mainfrom
fix/light-scrollbars
Oct 6, 2026
Merged

callumalpass merged 1 commit into
mainfrom
fix/light-scrollbars

Conversation

@callumalpass

Copy link
Copy Markdown
Contributor

Writer's scrollbars were browser defaults. This ports the editor's rules from mdbase-connect: thin scrollbars with a transparent track, a faint thumb at rest from the shared --scrollbar-thumb-* tokens, and a stronger thumb while the pane (sidebar, editor, preview, home, settings sheet, popovers, dialogs) is hovered or focused.

Verified in headless Chromium with native scrollbars enabled on a demo manuscript.

Scrollbars rest as a faint hairline and only widen and darken while
their pane is hovered or focused, using the shared scrollbar tokens,
matching the editor in mdbase-connect.
@callumalpass
callumalpass merged commit 5f5f662 into main Oct 6, 2026
1 check passed
@callumalpass
callumalpass deleted the fix/light-scrollbars branch October 6, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant