You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let a theme set how far the focused window's box reaches past the icon #627
The box behind the focused window's icon always reaches 3 pt past the icon on each side and 2 pt above and below. A theme can round its corners with cornerRadius, but can't make it slimmer. Tonhalle Line's flat, sharp strip draws a nearly square 20 × 18 pt box around a 14 pt icon, and a tighter, softer box suits it better.
Proposal
paddingHorizontal and paddingVertical on focusedWindowStyle set how far the box reaches past the icon. Without them it keeps 3 pt and 2 pt. While magnification zooms the icons, it still hugs the icon as today: at most 2 pt on the sides, none above and below.
Both keys are already accepted there: focusedWindowStyle is a style in stablebar.schema.json, and they're decoded but ignored. So this changes no configuration format; it gives them a meaning here. Document it in docs/widgets.md.
The Tonhalle Line example theme (examples/packages/tonhalle-line) goes to 1.1.1 and sets "focusedWindowStyle": { "cornerRadius": 4, "paddingHorizontal": 2, "paddingVertical": 1 } in workspaceDefaults, an 18 × 16 pt box with 4 pt corners. Like any theme value there, it turns the box on for workspace widgets that don't set focusedWindowStyle; null turns it off.
Possible today
Partly. cornerRadius rounds the box, but nothing changes its size: the padding keys are ignored.
Activity
chore(release): 0.15.0 [skip ci]
stablebar-releases commentedon Nov 14, 2026
🎉 This issue has been resolved in version 0.15.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀