feat(workspaces): add configurable font size - #932
Open
nileoe wants to merge 1 commit into
Open
Conversation
Workspace text renders noticeably smaller than the rest of the bar by default (xs vs. sm/md elsewhere) with no way to change it. Add a `font_size` option scoped to "small" (default) / "large" only, since the bar height is fixed and anything bigger doesn't fit the workspace button without also making the bar taller.
nileoe
force-pushed
the
feat/workspaces-font-size
branch
from
August 22, 2026 15:59
7d5ef0d to
9db9391
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workspace numbers/names currently render at the smallest step on ashell's
font-size scale (
theme.font_size.xs, 10px), which is smaller than therest of the bar (
window_titleuses 12px, the clock's main time text fallsback to iced's 16px default), and there is no way to change it from config.
Adds a basic
font_sizeoption on[workspaces]:"small"(default, unchangedbehavior) or
"large"(bumps totheme.font_size.sm, matchingwindow_title).Only two values for now (limited-scope change). The bar height is a fixed
constant, and the workspace button height is pegged to
theme.space.md(16px). A larger
theme.font_size.md(16px) font would leave no vertical marginand looks cramped/clipped without additional changes so anything past
large(internal
smfont size) isn't usable until bar height itself becomes configurable,which is separate, larger work (see #120).
Hot-reloads for free since
WorkspacesModuleConfigalready flows throughthe existing
ConfigReloadedpath — no new plumbing needed.Screenshots
Small(default, current)Large(new)