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 draw the bar background as a vertical gradient #125
A theme can give the bar strip only one color. bar.style.background takes a single #RRGGBB(AA) value, a light/dark pair, a token or null, and the strip draws it as one fill. A theme that wants depth, such as the bundled Everforest darker at the top and lighter at the bottom, can't draw it.
Proposal
Let bar.style take a vertical gradient in place of background:
Each stop takes the same values as background: hex, a light/dark pair or a token.
Like borderEdges, only bar.style and script barStyle would read it at first; widget tiles and popups keep one color.
backgroundGradient wins over background when both are set.
Open question: Liquid Glass tints with the background color. With a gradient it could tint with the gradient itself, or with its bottom color.
Possible today
No. Colors are single values in stablebar.schema.json (color, hexColor), and nothing on main draws a gradient for the bar (README, Displays and notch placement, lists the bar.style keys).
Covered by #143 (15ae182): bar.background and the other backgrounds accept {"gradient": {"colors": [...], "angle": 180}}, which runs top to bottom (README, Layout and style). It is in the 0.6.0 betas.
Activity
M4n0x commentedon Oct 22, 2026
Covered by #143 (15ae182):
bar.backgroundand the other backgrounds accept{"gradient": {"colors": [...], "angle": 180}}, which runs top to bottom (README, Layout and style). It is in the 0.6.0 betas.