11# Omarchy shell surfaces. Colors derive from colors.toml ; sizes and the
22# typographic scale come from the keys below. Themes can ship
3- # themes/<name>/shell.toml to override any individual key .
3+ # themes/<name>/shell.toml to replace this generated file .
44
55[bar]
66# Alpha companions (where present) range from 0 (invisible) to 1 (opaque).
@@ -20,15 +20,20 @@ size-vertical = 28
2020# Shared state tokens for interactive control chrome (buttons, dropdowns,
2121# tab strips, etc).
2222
23- # Normal: idle control chrome.
23+ # Normal: idle control chrome. Border widths accept one CSS-style scalar/list:
24+ # N, " Y X" , " T X B" , or " T R B L" . Per-side keys like
25+ # normal-border-width-left override the list. Each *-border accepts either a
26+ # solid color or a Hyprland-style gradient, e.g. " rgba(...) rgba(...) 45deg" .
2427normal-color = " {{ foreground }}"
2528normal-fill-alpha = 0.04
29+ normal-border = " {{ foreground }}"
2630normal-border-width = 1
2731normal-border-alpha = 0.4
2832
2933# Hover-cursor: mouse hover and the panel keyboard cursor.
3034hover-cursor-color = " {{ foreground }}"
3135hover-cursor-fill-alpha = 0.08
36+ hover-cursor-border = " {{ foreground }}"
3237hover-cursor-border-width = 1
3338hover-cursor-border-alpha = 0.25
3439
@@ -37,12 +42,14 @@ hover-cursor-border-alpha = 0.25
3742# — themes that want focus to stand out override these four lines.
3843focus-color = " {{ foreground }}"
3944focus-fill-alpha = 0.08
45+ focus-border = " {{ foreground }}"
4046focus-border-width = 1
4147focus-border-alpha = 0.25
4248
4349# Selected: persistent chosen/current state.
4450selected-color = " {{ foreground }}"
4551selected-fill-alpha = 0.18
52+ selected-border = " {{ foreground }}"
4653selected-border-width = 0
4754selected-border-alpha = 1.0
4855
@@ -107,30 +114,34 @@ base-size = 12
107114
108115[popups]
109116# Shared by every bar flyout (dropdowns, OSD, popup cards).
117+ # Border accepts either a solid color or a Hyprland-style gradient. Border
118+ # widths accept one CSS-style scalar/list: N, " Y X" , " T X B" , or " T R B L" ;
119+ # individual border-width-top/right/bottom/left keys override the list.
110120background = " {{ background }}"
111121background-alpha = 1.0
112122text = " {{ foreground }}"
113- border = " {{ accent }}"
123+ border = " {{ shell_gradient hyprland_active_border accent }}"
114124border-alpha = 1.0
125+ # border-width = 2
115126
116127[tooltip]
117128# Hover tooltips across the bar, panels, and buttons. background-alpha of
118129# 0.97 mirrors the legacy hard-coded tooltip opacity.
119130background = " {{ background }}"
120131background-alpha = 0.97
121132text = " {{ foreground }}"
122- border = " {{ foreground }}"
133+ border = " {{ shell_gradient hyprland_active_border foreground }}"
123134border-alpha = 1.0
124135
125136[notifications]
126137background = " {{ background }}"
127138background-alpha = 1.0
128139text = " {{ foreground }}"
129- # Conventionally matches the Hyprland active-window border. If a theme
130- # defines a gradient active border, the shell uses its first stop because
131- # QML Rectangle borders are flat colors.
132- border = " {{ gradient_start hyprland_active_border accent }}"
140+ # Conventionally matches the Hyprland active-window border. Border accepts
141+ # either a solid color or the full active-border gradient.
142+ border = " {{ shell_gradient hyprland_active_border accent }}"
133143border-alpha = 1.0
144+ # border-width = 2
134145countdown = " {{ accent }}"
135146
136147[launcher]
@@ -141,14 +152,14 @@ countdown = "{{ accent }}"
141152background = " {{ background }}"
142153background-alpha = 0.95
143154text = " {{ foreground }}"
144- border = " {{ foreground }}"
155+ border = " {{ shell_gradient hyprland_active_border foreground }}"
145156border-alpha = 1.0
146157scrim = " {{ background }}"
147158scrim-alpha = 0.5
148159selected-background = " {{ foreground }}"
149160selected-background-alpha = 0.08
150161selected-text = " {{ accent }}"
151- selected-border = " {{ foreground }}"
162+ selected-border = " {{ shell_gradient hyprland_active_border foreground }}"
152163selected-border-alpha = 0.25
153164
154165[menu]
@@ -158,14 +169,14 @@ selected-border-alpha = 0.25
158169background = " {{ background }}"
159170background-alpha = 1.0
160171text = " {{ foreground }}"
161- border = " {{ foreground }}"
172+ border = " {{ shell_gradient hyprland_active_border foreground }}"
162173border-alpha = 1.0
163174scrim = " {{ background }}"
164175scrim-alpha = 0.5
165176selected-background = " {{ foreground }}"
166177selected-background-alpha = 0.08
167178selected-text = " {{ accent }}"
168- selected-border = " {{ foreground }}"
179+ selected-border = " {{ shell_gradient hyprland_active_border foreground }}"
169180selected-border-alpha = 0.25
170181
171182[polkit]
@@ -178,7 +189,7 @@ background = "{{ background }}"
178189background-alpha = 1.0
179190text = " {{ foreground }}"
180191text-error = " {{ color1 }}"
181- border = " {{ accent }}"
192+ border = " {{ shell_gradient hyprland_active_border accent }}"
182193border-error = " {{ color1 }}"
183194border-alpha = 1.0
184195scrim = " {{ background }}"
@@ -196,8 +207,8 @@ background = "{{ background }}"
196207background-alpha = 0.8
197208text = " {{ foreground }}"
198209text-error = " {{ color1 }}"
199- border = " {{ foreground }}"
200- border-active = " {{ accent }}"
210+ border = " {{ shell_gradient hyprland_active_border foreground }}"
211+ border-active = " {{ shell_gradient hyprland_active_border accent }}"
201212border-error = " {{ color1 }}"
202213border-alpha = 1.0
203214# selection is the text-selection tint inside the input field.
0 commit comments