forge
Explore
Log in

Don't you dare go Hollow

Stop blanket rules from overriding app and state styles

Browse files at this commit

309c9aa028a2a4e4a44dec572ca9812126bbeda7Ahmet Kaan GümüşParent: 7da17af
  • fix
    • stop blanket rules from overriding app and state styles
Show full message
fix(theming): stop blanket rules from overriding app and state styles

Our generated sheets load at GTK_STYLE_PROVIDER_PRIORITY_USER, and GTK resolves
provider priority before specificity, so broad selectors were silently beating
both Adwaita and each app's own gresource CSS.

GTK4:
- `.toolbar` no longer paints a background (padding-only upstream); it was
  drawing opaque blocks over AdwToolbarView bottom bars, e.g. two floating
  rectangles in the nautilus/portal file chooser action bar
- drop bare `row`, which also matches GtkListItemWidget and boxed dropdown and
  popover item labels
- keep `.flat-dropdown` and header-bar/path-bar/list-header buttons flat, so
  nautilus's own flat styling survives; the path bar had been rendering as a
  filled entry and the column header row as a raised strip
- `columnview`/`treeview` headers sit on the view background with a separator

GTK3 (also drives every Qt app, since QT_QPA_PLATFORMTHEME=gtk3):
- restate `:disabled` locally; the `* { color }` rule had erased every Adwaita
  disabled rule, leaving disabled buttons and entries pixel-identical to live ones
- give entries a border (base is only a few steps from the window background)
- flatten tree/column header buttons, same override as GTK4
- style level bars, which fell back to Adwaita blue
- give popovers and menus their own surface plus a visible edge; the broad
  `.background` rule had handed them exactly the window color and no frame

Semantic colors keep their canonical hue with a palette tint: straight palette
colors had produced a grey "error", a blue "warning" and a brown "destructive".

Qt/KDE:
- qt5ct/qt6ct: ToolTipBase is QPalette role 18, not 17 — theme_colors.sh was
  substituting NoRole, so tooltips kept a light foreground as their background
- placeholder text no longer resolves to the selection color
- kdeglobals surfaces follow the same window/view/button steps as GTK instead of
  raw palette colors, and links are lightened (they were at 1.1:1 contrast)
- resolve mix() in the Qt color schemes too, so all templates share one syntax

gtk2.gtkrc and kdeglobals move into the repo and are symlinked back from
~/.config/wallust/templates; they were the only untracked templates.
.config/scripts/shared/theme_colors.shmodified+7 -4
@@ -41,8 +41,10 @@ with open('$KDEGLOBALS', 'w') as f:
4141 "
4242 fi
4343
44-# Resolve mix() in GTK CSS / gtkrc files
45-for css in ~/.config/gtk-4.0/gtk.css ~/.config/gtk-4.0/gtk-dark.css ~/.config/gtk-3.0/gtk.css ~/.gtkrc-2.0.mine; do
44+# Resolve mix() in GTK CSS / gtkrc files, and in the Qt color schemes.
45+# The Qt confs must be handled here, before the #RRGGBB -> #ffRRGGBB pass below,
46+# because the mix() regex only matches 6-digit hex.
47+for css in ~/.config/gtk-4.0/gtk.css ~/.config/gtk-4.0/gtk-dark.css ~/.config/gtk-3.0/gtk.css ~/.gtkrc-2.0.mine ~/.config/qt5ct/colors/wallust.conf ~/.config/qt6ct/colors/wallust.conf; do
4648 [ -f "$css" ] || continue
4749 python3 -c "
4850 import re
@@ -100,7 +102,8 @@ print(m('$C4', '$FG', 0.3))
100102 MIXED_BTN=$(echo "$COMPUTED" | sed -n '2p')
101103 MIXED_ACCENT=$(echo "$COMPUTED" | sed -n '3p')
102104
103- # Replace surface roles: Base(9), Window(10), AlternateBase(16), ToolTipBase(17) with MIXED
105+ # Replace surface roles: Base(9), Window(10), AlternateBase(16), ToolTipBase(18) with MIXED
106+ # NOTE: role order is QPalette::ColorRole — index 17 is NoRole, ToolTipBase is 18.
104107 # Replace Button(1) with MIXED_BTN
105108 # Replace Highlight(12) and pos 20 with MIXED_ACCENT
106109 python3 -c "
@@ -116,7 +119,7 @@ for line in lines:
116119 out.append(line); continue
117120 key, vals = line.strip().split('=', 1)
118121 cols = [v.strip() for v in vals.split(',')]
119- for i in [9, 10, 16, 17]:
122+ for i in [9, 10, 16, 18]:
120123 if i < len(cols) and cols[i] == c1:
121124 cols[i] = mixed
122125 if 1 < len(cols) and cols[1] == c1:
.config/wallust/templates/gtk2.gtkrcadded+61 -0
@@ -0,0 +1,61 @@
1+# Generated by wallust
2+
3+# Surfaces must match the GTK3/GTK4 steps; raw {{background}}/{{color1}} here
4+# made GTK2 windows near-black and selections a different accent than GTK3.
5+gtk-color-scheme = "bg_color:mix({{background}}, {{color1}}, 0.35)\nfg_color:{{foreground}}\nbase_color:mix({{background}}, {{color1}}, 0.30)\ntext_color:{{foreground}}\nselected_bg_color:mix({{color4}}, {{foreground}}, 0.3)\nselected_fg_color:{{color15}}\ntooltip_bg_color:mix({{background}}, {{color1}}, 0.45)\ntooltip_fg_color:{{foreground}}"
6+
7+style "wallust-default" {
8+ bg[NORMAL] = "mix({{background}}, {{color1}}, 0.35)"
9+ bg[PRELIGHT] = "mix({{background}}, {{color1}}, 0.45)"
10+ bg[ACTIVE] = "mix({{background}}, {{color1}}, 0.40)"
11+ bg[SELECTED] = "mix({{color4}}, {{foreground}}, 0.3)"
12+ bg[INSENSITIVE] = "mix({{background}}, {{color1}}, 0.30)"
13+
14+ fg[NORMAL] = "{{foreground}}"
15+ fg[PRELIGHT] = "{{foreground}}"
16+ fg[ACTIVE] = "{{foreground}}"
17+ fg[SELECTED] = "{{color15}}"
18+ fg[INSENSITIVE] = "{{color8}}"
19+
20+ base[NORMAL] = "mix({{background}}, {{color1}}, 0.30)"
21+ base[PRELIGHT] = "mix({{background}}, {{color1}}, 0.35)"
22+ base[ACTIVE] = "mix({{color4}}, {{foreground}}, 0.3)"
23+ base[SELECTED] = "mix({{color4}}, {{foreground}}, 0.3)"
24+ base[INSENSITIVE] = "mix({{background}}, {{color1}}, 0.25)"
25+
26+ text[NORMAL] = "{{foreground}}"
27+ text[PRELIGHT] = "{{foreground}}"
28+ text[ACTIVE] = "{{color15}}"
29+ text[SELECTED] = "{{color15}}"
30+ text[INSENSITIVE] = "{{color8}}"
31+}
32+
33+style "wallust-tooltips" {
34+ bg[NORMAL] = "mix({{background}}, {{color1}}, 0.45)"
35+ fg[NORMAL] = "{{foreground}}"
36+}
37+
38+class "GtkWidget" style "wallust-default"
39+class "GtkButton" style "wallust-default"
40+class "GtkCheckButton" style "wallust-default"
41+class "GtkRadioButton" style "wallust-default"
42+class "GtkEntry" style "wallust-default"
43+class "GtkTreeView" style "wallust-default"
44+class "GtkLabel" style "wallust-default"
45+class "GtkMenu" style "wallust-default"
46+class "GtkMenuItem" style "wallust-default"
47+class "GtkMenuBar" style "wallust-default"
48+class "GtkToolbar" style "wallust-default"
49+class "GtkNotebook" style "wallust-default"
50+widget_class "*<GtkNotebook>*" style "wallust-default"
51+widget_class "*GtkNotebook.*" style "wallust-default"
52+class "GtkScrolledWindow" style "wallust-default"
53+class "GtkFrame" style "wallust-default"
54+class "GtkWindow" style "wallust-default"
55+class "GtkDialog" style "wallust-default"
56+class "GtkTooltip" style "wallust-tooltips"
57+
58+widget_class "*<GtkTreeView>*" style "wallust-default"
59+widget_class "*<GtkButton>*" style "wallust-default"
60+widget_class "*<GtkEntry>*" style "wallust-default"
61+widget "gtk-tooltip*" style "wallust-tooltips"
.config/wallust/templates/gtk3.cssmodified+110 -7
@@ -16,9 +16,12 @@
1616 @define-color theme_unfocused_selected_fg_color {{color15}};
1717 @define-color borders mix({{background}}, {{color1}}, 0.5);
1818 @define-color unfocused_borders mix({{background}}, {{color1}}, 0.45);
19-@define-color warning_color {{color3}};
20-@define-color error_color {{color1}};
21-@define-color success_color {{color2}};
19+/* Semantic colors keep their canonical hue and only take a palette tint:
20+ straight {{color1}}/{{color3}} made "error" grey and "warning" blue, i.e. the
21+ status signal was lost. */
22+@define-color warning_color mix(#f5c211, {{color3}}, 0.3);
23+@define-color error_color mix(#e01b24, {{color1}}, 0.3);
24+@define-color success_color mix(#2ec27e, {{color2}}, 0.3);
2225 @define-color insensitive_bg_color mix({{background}}, {{color1}}, 0.3);
2326 @define-color insensitive_fg_color {{color8}};
2427 @define-color insensitive_base_color mix({{background}}, {{color1}}, 0.25);
@@ -102,9 +105,87 @@ headerbar:backdrop {
102105 color: {{foreground}};
103106 }
104107
105-entry {
108+/* Text fields need a visible edge: the base color is only a few steps away
109+ from the window background, so a borderless entry reads as a bare label. */
110+entry,
111+spinbutton,
112+spinbutton entry {
106113 background-color: mix({{background}}, {{color1}}, 0.3);
107114 color: {{foreground}};
115+ border: 1px solid mix({{background}}, {{color1}}, 0.6);
116+ border-radius: 6px;
117+}
118+
119+entry:focus,
120+entry:focus-within,
121+spinbutton:focus-within {
122+ border-color: mix({{color4}}, {{foreground}}, 0.3);
123+}
124+
125+/* List/tree headers must not take the generic button surface below. */
126+treeview.view header button,
127+treeview.view header button:hover,
128+columnview header button,
129+.view header button {
130+ background-color: transparent;
131+ background-image: none;
132+ box-shadow: none;
133+ border: none;
134+ border-bottom: 1px solid mix({{background}}, {{color1}}, 0.5);
135+ border-right: 1px solid mix({{background}}, {{color1}}, 0.5);
136+}
137+
138+/* Disabled affordance. Our sheet loads at PRIORITY_USER, and GTK resolves
139+ provider priority before specificity, so the `* { color }` rule above beats
140+ every Adwaita :disabled rule — disabled widgets have to be restated here. */
141+*:disabled,
142+label:disabled,
143+button:disabled,
144+button:disabled label,
145+menuitem:disabled,
146+menuitem:disabled label,
147+entry:disabled,
148+spinbutton:disabled,
149+combobox:disabled,
150+checkbutton:disabled,
151+radiobutton:disabled {
152+ color: {{color8}};
153+}
154+
155+button:disabled,
156+button.text-button:disabled,
157+button.image-button:disabled,
158+headerbar button:disabled {
159+ background-color: mix({{background}}, {{color1}}, 0.4);
160+ background-image: none;
161+ border-color: mix({{background}}, {{color1}}, 0.45);
162+}
163+
164+entry:disabled,
165+spinbutton:disabled,
166+spinbutton entry:disabled {
167+ background-color: mix({{background}}, {{color1}}, 0.25);
168+ border-color: mix({{background}}, {{color1}}, 0.45);
169+}
170+
171+/* Level bars otherwise fall back to Adwaita's blue. */
172+levelbar trough,
173+levelbar block.empty {
174+ background-color: mix({{background}}, {{color1}}, 0.4);
175+ border-color: mix({{background}}, {{color1}}, 0.5);
176+}
177+
178+levelbar block,
179+levelbar block.filled,
180+levelbar block.full,
181+levelbar block.high {
182+ background-color: mix({{color4}}, {{foreground}}, 0.3);
183+ border-color: mix({{color4}}, {{foreground}}, 0.3);
184+}
185+
186+levelbar block.low {
187+ background-color: mix(#f5c211, {{color3}}, 0.3);
188+ border-color: mix(#f5c211, {{color3}}, 0.3);
108189 }
109190
110191 button,
@@ -165,10 +246,10 @@ button.suggested-action {
165246 }
166247
167248 button.destructive-action {
168- background-color: mix({{color1}}, {{foreground}}, 0.3);
249+ background-color: mix(#e01b24, {{color1}}, 0.3);
169250 background-image: none;
170251 color: {{color15}};
171- border-color: mix({{color1}}, {{foreground}}, 0.3);
252+ border-color: mix(#e01b24, {{color1}}, 0.3);
172253 box-shadow: none;
173254 }
174255
@@ -183,9 +264,31 @@ tooltip {
183264 color: {{foreground}};
184265 }
185266
186-menu {
267+/* Popovers/menus float over content, so they need their own surface AND a
268+ visible edge — the `.background` rule above otherwise gives them exactly the
269+ window color and they read as if they had no frame at all. */
270+menu,
271+popover,
272+popover.background,
273+popover.background > contents,
274+popover > contents {
187275 background-color: mix({{background}}, {{color1}}, 0.4);
188276 color: {{foreground}};
277+ border: 1px solid mix({{background}}, {{color1}}, 0.6);
278+ border-radius: 8px;
279+}
280+
281+popover modelbutton:hover,
282+popover .menuitem:hover,
283+popover button:hover {
284+ background-color: mix({{background}}, {{color1}}, 0.55);
285+ color: {{foreground}};
286+}
287+
288+tooltip.background,
289+tooltip.background > box {
290+ border: 1px solid mix({{background}}, {{color1}}, 0.6);
291+ border-radius: 6px;
189292 }
190293
191294 menuitem:hover {
.config/wallust/templates/gtk4.cssmodified+81 -19
@@ -3,21 +3,24 @@
33 @define-color accent_fg_color {{color15}};
44 @define-color accent_color mix({{color4}}, {{foreground}}, 0.3);
55
6-@define-color destructive_bg_color mix({{color1}}, {{foreground}}, 0.3);
6+/* Semantic colors keep their canonical hue and only take a palette tint:
7+ straight {{color1}}/{{color3}} made "destructive"/"error" brown and "warning"
8+ blue, i.e. the status signal was lost. */
9+@define-color destructive_bg_color mix(#e01b24, {{color1}}, 0.3);
710 @define-color destructive_fg_color {{color15}};
8-@define-color destructive_color mix({{color1}}, {{foreground}}, 0.3);
11+@define-color destructive_color mix(#e01b24, {{color1}}, 0.3);
912
10-@define-color success_bg_color {{color2}};
13+@define-color success_bg_color mix(#2ec27e, {{color2}}, 0.3);
1114 @define-color success_fg_color {{color15}};
12-@define-color success_color {{color2}};
15+@define-color success_color mix(#2ec27e, {{color2}}, 0.3);
1316
14-@define-color warning_bg_color {{color3}};
17+@define-color warning_bg_color mix(#f5c211, {{color3}}, 0.3);
1518 @define-color warning_fg_color {{background}};
16-@define-color warning_color {{color3}};
19+@define-color warning_color mix(#f5c211, {{color3}}, 0.3);
1720
18-@define-color error_bg_color mix({{color1}}, {{foreground}}, 0.3);
21+@define-color error_bg_color mix(#e01b24, {{color1}}, 0.3);
1922 @define-color error_fg_color {{color15}};
20-@define-color error_color mix({{color1}}, {{foreground}}, 0.3);
23+@define-color error_color mix(#e01b24, {{color1}}, 0.3);
2124
2225 @define-color window_bg_color mix({{background}}, {{color1}}, 0.35);
2326 @define-color window_fg_color {{foreground}};
@@ -56,7 +59,9 @@ headerbar {
5659 color: {{foreground}};
5760 }
5861
59-.view, list, row, treeview {
62+/* NOTE: no bare `row` here — `row` also matches GtkListItemWidget inside
63+ dropdowns/popovers, which paints an opaque box behind their labels. */
64+.view, list, treeview {
6065 background-color: mix({{background}}, {{color1}}, 0.3);
6166 color: {{foreground}};
6267 }
@@ -89,9 +94,10 @@ modelbutton:active {
8994 background-color: alpha({{foreground}}, 0.15);
9095 }
9196
97+/* NOTE: `.toolbar` is padding-only in Adwaita. Giving it a background paints
98+ opaque blocks over AdwToolbarView bottom bars (e.g. the nautilus file
99+ chooser action bar), so it is deliberately absent here. */
92100 .osd,
93-.toolbar,
94-box.toolbar,
95101 .background.osd,
96102 .flat-style-toolbar {
97103 background-color: mix({{background}}, {{color1}}, 0.4);
@@ -107,9 +113,6 @@ viewswitcher button,
107113 stackswitcher,
108114 stackswitcher button,
109115 .stack-switcher button,
110-columnview header,
111-columnview header button,
112-treeview.view header button,
113116 header.view {
114117 background-color: mix({{background}}, {{color1}}, 0.4);
115118 background-image: none;
@@ -118,6 +121,17 @@ header.view {
118121 box-shadow: none;
119122 }
120123
124+/* List/column headers sit on the view background upstream, separator only.
125+ A raised band here reads as a stray strip under the header bar. */
126+columnview header,
127+columnview > header,
128+treeview.view header {
129+ background-color: transparent;
130+ background-image: none;
131+ box-shadow: none;
132+ border-bottom: 1px solid mix({{background}}, {{color1}}, 0.5);
133+}
134+
121135 stackswitcher button:checked,
122136 viewswitcher button:checked,
123137 .stack-switcher button:checked {
@@ -164,7 +178,7 @@ dialog button.suggested-action {
164178 button.destructive-action,
165179 .dialog-action-area button.destructive-action,
166180 dialog button.destructive-action {
167- background-color: mix({{color1}}, {{foreground}}, 0.3);
181+ background-color: mix(#e01b24, {{color1}}, 0.3);
168182 background-image: none;
169183 color: {{color15}};
170184 box-shadow: none;
@@ -191,7 +205,7 @@ messagedialog button.suggested-action {
191205 dialog button.destructive-action,
192206 .dialog-action-area button.destructive-action,
193207 messagedialog button.destructive-action {
194- background-color: mix({{color1}}, {{foreground}}, 0.3);
208+ background-color: mix(#e01b24, {{color1}}, 0.3);
195209 color: {{color15}};
196210 }
197211
@@ -203,9 +217,9 @@ spinbutton text,
203217 combobox,
204218 combobox button,
205219 combobox entry,
206-dropdown,
207-dropdown button,
208-dropdown > button,
220+dropdown:not(.flat-dropdown),
221+dropdown:not(.flat-dropdown) button,
222+dropdown:not(.flat-dropdown) > button,
209223 fontbutton,
210224 fontbutton button,
211225 filechooserbutton,
@@ -338,3 +352,51 @@ progressbar progress {
338352 background-color: mix({{color4}}, {{foreground}}, 0.3);
339353 background-image: none;
340354 }
355+
356+/* Chrome buttons (header bars, nautilus path bar, list headers) must stay flat:
357+ the generic `button:not(...)` rule above otherwise paints a card surface over
358+ the app's own flat styling, since our CSS loads at PRIORITY_USER and beats the
359+ app's gresource CSS. The :not() chains exist only to out-specify it. */
360+headerbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
361+windowhandle button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
362+.titlebar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
363+.nautilus-pathbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
364+button.nautilus-path-button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
365+columnview header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
366+treeview.view header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked),
367+header.view button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked) {
368+ background-color: transparent;
369+ background-image: none;
370+ border: none;
371+ box-shadow: none;
372+}
373+
374+headerbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
375+windowhandle button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
376+.titlebar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
377+.nautilus-pathbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
378+button.nautilus-path-button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
379+columnview header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
380+treeview.view header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover,
381+header.view button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover {
382+ background-color: alpha({{foreground}}, 0.10);
383+}
384+
385+/* Flat dropdowns (nautilus file chooser filter). The :not() chain only exists
386+ to out-specify the generic `button:not(...)` rule above. */
387+dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action) {
388+ background-color: transparent;
389+ background-image: none;
390+ border: none;
391+ box-shadow: none;
392+}
393+
394+dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):hover {
395+ background-color: alpha({{foreground}}, 0.08);
396+}
397+
398+dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):checked,
399+dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):active {
400+ background-color: alpha({{foreground}}, 0.14);
401+ color: {{foreground}};
402+}
.config/wallust/templates/kdeglobalsadded+71 -0
@@ -0,0 +1,71 @@
1+[KDE]
2+widgetStyle=qt6ct-style
3+
4+[General]
5+ColorScheme=Wallust
6+
7+[Colors:Window]
8+BackgroundNormal=mix({{background}}, {{color1}}, 0.35)
9+BackgroundAlternate=mix({{background}}, {{color1}}, 0.40)
10+ForegroundNormal={{foreground}}
11+ForegroundActive={{foreground}}
12+ForegroundInactive={{color8}}
13+ForegroundLink=mix({{color4}}, {{foreground}}, 0.75)
14+ForegroundVisited=mix({{color5}}, {{foreground}}, 0.6)
15+ForegroundNegative=mix(#e01b24, {{color1}}, 0.3)
16+ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3)
17+ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3)
18+DecorationFocus=mix({{color4}}, {{foreground}}, 0.3)
19+DecorationHover=mix({{color4}}, {{foreground}}, 0.3)
20+
21+[Colors:View]
22+BackgroundNormal=mix({{background}}, {{color1}}, 0.30)
23+BackgroundAlternate=mix({{background}}, {{color1}}, 0.35)
24+ForegroundNormal={{foreground}}
25+ForegroundActive={{foreground}}
26+ForegroundInactive={{color8}}
27+ForegroundLink=mix({{color4}}, {{foreground}}, 0.75)
28+ForegroundVisited=mix({{color5}}, {{foreground}}, 0.6)
29+ForegroundNegative=mix(#e01b24, {{color1}}, 0.3)
30+ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3)
31+ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3)
32+DecorationFocus=mix({{color4}}, {{foreground}}, 0.3)
33+DecorationHover=mix({{color4}}, {{foreground}}, 0.3)
34+
35+[Colors:Button]
36+BackgroundNormal=mix({{background}}, {{color1}}, 0.45)
37+BackgroundAlternate=mix({{background}}, {{color1}}, 0.55)
38+ForegroundNormal={{foreground}}
39+ForegroundActive={{foreground}}
40+ForegroundInactive={{color8}}
41+ForegroundLink=mix({{color4}}, {{foreground}}, 0.75)
42+ForegroundVisited=mix({{color5}}, {{foreground}}, 0.6)
43+ForegroundNegative=mix(#e01b24, {{color1}}, 0.3)
44+ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3)
45+ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3)
46+DecorationFocus=mix({{color4}}, {{foreground}}, 0.3)
47+DecorationHover=mix({{color4}}, {{foreground}}, 0.3)
48+
49+[Colors:Selection]
50+BackgroundNormal=mix({{color4}}, {{foreground}}, 0.3)
51+BackgroundAlternate=mix({{color4}}, {{foreground}}, 0.3)
52+ForegroundNormal={{color15}}
53+ForegroundActive={{color15}}
54+ForegroundInactive={{color15}}
55+ForegroundLink={{color15}}
56+ForegroundVisited={{color15}}
57+ForegroundNegative=mix(#e01b24, {{color1}}, 0.3)
58+ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3)
59+ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3)
60+DecorationFocus=mix({{color4}}, {{foreground}}, 0.3)
61+DecorationHover=mix({{color4}}, {{foreground}}, 0.3)
62+
63+[Colors:Tooltip]
64+BackgroundNormal=mix({{background}}, {{color1}}, 0.40)
65+BackgroundAlternate=mix({{background}}, {{color1}}, 0.40)
66+ForegroundNormal={{foreground}}
67+
68+[Colors:Header]
69+BackgroundNormal=mix({{background}}, {{color1}}, 0.40)
70+BackgroundAlternate=mix({{background}}, {{color1}}, 0.40)
71+ForegroundNormal={{foreground}}
.config/wallust/templates/qt5ct-wallust.confmodified+3 -3
@@ -1,4 +1,4 @@
11 [ColorScheme]
2-active_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color4}}, {{color15}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}}
3-disabled_colors={{color8}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{color8}}, {{color8}}, {{color8}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{color8}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}}
4-inactive_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{foreground}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}}
2+active_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color4}}, {{color15}}, mix({{color4}}, {{foreground}}, 0.75), mix({{color5}}, {{foreground}}, 0.6), {{color1}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}
3+disabled_colors={{color8}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{color8}}, {{color8}}, {{color8}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{color8}}, mix({{color4}}, {{foreground}}, 0.75), mix({{color5}}, {{foreground}}, 0.6), {{color1}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}
4+inactive_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{foreground}}, mix({{color4}}, {{foreground}}, 0.75), mix({{color5}}, {{foreground}}, 0.6), {{color1}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}
.config/wallust/templates/qt6ct-wallust.confmodified+3 -3
@@ -1,4 +1,4 @@
11 [ColorScheme]
2-active_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color4}}, {{color15}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}}
3-disabled_colors={{color8}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{color8}}, {{color8}}, {{color8}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{color8}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}}
4-inactive_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{foreground}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}}
2+active_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color4}}, {{color15}}, mix({{color4}}, {{foreground}}, 0.75), mix({{color5}}, {{foreground}}, 0.6), {{color1}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}
3+disabled_colors={{color8}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{color8}}, {{color8}}, {{color8}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{color8}}, mix({{color4}}, {{foreground}}, 0.75), mix({{color5}}, {{foreground}}, 0.6), {{color1}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}
4+inactive_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{foreground}}, mix({{color4}}, {{foreground}}, 0.75), mix({{color5}}, {{foreground}}, 0.6), {{color1}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}