Skip to content

refactor(toolbar): extract font-size into configurable CSS variable - #1352

Merged
gadenbuie merged 7 commits into
mainfrom
fix/toolbar-font-size-var
Aug 21, 2026
Merged

refactor(toolbar): extract font-size into configurable CSS variable#1352
gadenbuie merged 7 commits into
mainfrom
fix/toolbar-font-size-var

Conversation

@gadenbuie

@gadenbuie gadenbuie commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

Move the hardcoded font-size: 0.9rem into a pseudo-private custom property (--_toolbar-font-size) that reads from a global variable (--bslib-toolbar-font-size), following the existing pattern for other toolbar properties. This allows the toolbar font size to be customized while maintaining a single source of truth within each toolbar instance.

gadenbuie and others added 4 commits August 21, 2026 11:57
Move the hardcoded 0.9rem font-size into a pseudo-private custom property (--_toolbar-font-size) that reads from a global variable (--bslib-toolbar-font-size), following the existing pattern for other toolbar properties. This allows the toolbar font size to be customized while maintaining a single source of truth within each toolbar instance.
@gadenbuie
gadenbuie marked this pull request as ready for review August 21, 2026 16:06
@gadenbuie
gadenbuie merged commit 652ef62 into main Aug 21, 2026
@gadenbuie
gadenbuie deleted the fix/toolbar-font-size-var branch August 21, 2026 20:16
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.

2 participants