From 309c9aa028a2a4e4a44dec572ca9812126bbeda7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 8 Aug 2026 21:17:46 +0300 Subject: [PATCH] fix(theming): stop blanket rules from overriding app and state styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.sh | 11 +- .config/wallust/templates/gtk2.gtkrc | 61 ++++++++++ .config/wallust/templates/gtk3.css | 117 +++++++++++++++++-- .config/wallust/templates/gtk4.css | 100 +++++++++++++--- .config/wallust/templates/kdeglobals | 71 +++++++++++ .config/wallust/templates/qt5ct-wallust.conf | 6 +- .config/wallust/templates/qt6ct-wallust.conf | 6 +- 7 files changed, 336 insertions(+), 36 deletions(-) create mode 100644 .config/wallust/templates/gtk2.gtkrc create mode 100644 .config/wallust/templates/kdeglobals diff --git a/.config/scripts/shared/theme_colors.sh b/.config/scripts/shared/theme_colors.sh index 3dbb492..851f99c 100755 --- a/.config/scripts/shared/theme_colors.sh +++ b/.config/scripts/shared/theme_colors.sh @@ -41,8 +41,10 @@ with open('$KDEGLOBALS', 'w') as f: " fi -# Resolve mix() in GTK CSS / gtkrc files -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 +# Resolve mix() in GTK CSS / gtkrc files, and in the Qt color schemes. +# The Qt confs must be handled here, before the #RRGGBB -> #ffRRGGBB pass below, +# because the mix() regex only matches 6-digit hex. +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 [ -f "$css" ] || continue python3 -c " import re @@ -100,7 +102,8 @@ print(m('$C4', '$FG', 0.3)) MIXED_BTN=$(echo "$COMPUTED" | sed -n '2p') MIXED_ACCENT=$(echo "$COMPUTED" | sed -n '3p') - # Replace surface roles: Base(9), Window(10), AlternateBase(16), ToolTipBase(17) with MIXED + # Replace surface roles: Base(9), Window(10), AlternateBase(16), ToolTipBase(18) with MIXED + # NOTE: role order is QPalette::ColorRole — index 17 is NoRole, ToolTipBase is 18. # Replace Button(1) with MIXED_BTN # Replace Highlight(12) and pos 20 with MIXED_ACCENT python3 -c " @@ -116,7 +119,7 @@ for line in lines: out.append(line); continue key, vals = line.strip().split('=', 1) cols = [v.strip() for v in vals.split(',')] - for i in [9, 10, 16, 17]: + for i in [9, 10, 16, 18]: if i < len(cols) and cols[i] == c1: cols[i] = mixed if 1 < len(cols) and cols[1] == c1: diff --git a/.config/wallust/templates/gtk2.gtkrc b/.config/wallust/templates/gtk2.gtkrc new file mode 100644 index 0000000..bb228ec --- /dev/null +++ b/.config/wallust/templates/gtk2.gtkrc @@ -0,0 +1,61 @@ +# Generated by wallust + +# Surfaces must match the GTK3/GTK4 steps; raw {{background}}/{{color1}} here +# made GTK2 windows near-black and selections a different accent than GTK3. +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}}" + +style "wallust-default" { + bg[NORMAL] = "mix({{background}}, {{color1}}, 0.35)" + bg[PRELIGHT] = "mix({{background}}, {{color1}}, 0.45)" + bg[ACTIVE] = "mix({{background}}, {{color1}}, 0.40)" + bg[SELECTED] = "mix({{color4}}, {{foreground}}, 0.3)" + bg[INSENSITIVE] = "mix({{background}}, {{color1}}, 0.30)" + + fg[NORMAL] = "{{foreground}}" + fg[PRELIGHT] = "{{foreground}}" + fg[ACTIVE] = "{{foreground}}" + fg[SELECTED] = "{{color15}}" + fg[INSENSITIVE] = "{{color8}}" + + base[NORMAL] = "mix({{background}}, {{color1}}, 0.30)" + base[PRELIGHT] = "mix({{background}}, {{color1}}, 0.35)" + base[ACTIVE] = "mix({{color4}}, {{foreground}}, 0.3)" + base[SELECTED] = "mix({{color4}}, {{foreground}}, 0.3)" + base[INSENSITIVE] = "mix({{background}}, {{color1}}, 0.25)" + + text[NORMAL] = "{{foreground}}" + text[PRELIGHT] = "{{foreground}}" + text[ACTIVE] = "{{color15}}" + text[SELECTED] = "{{color15}}" + text[INSENSITIVE] = "{{color8}}" +} + +style "wallust-tooltips" { + bg[NORMAL] = "mix({{background}}, {{color1}}, 0.45)" + fg[NORMAL] = "{{foreground}}" +} + +class "GtkWidget" style "wallust-default" +class "GtkButton" style "wallust-default" +class "GtkCheckButton" style "wallust-default" +class "GtkRadioButton" style "wallust-default" +class "GtkEntry" style "wallust-default" +class "GtkTreeView" style "wallust-default" +class "GtkLabel" style "wallust-default" +class "GtkMenu" style "wallust-default" +class "GtkMenuItem" style "wallust-default" +class "GtkMenuBar" style "wallust-default" +class "GtkToolbar" style "wallust-default" +class "GtkNotebook" style "wallust-default" +widget_class "**" style "wallust-default" +widget_class "*GtkNotebook.*" style "wallust-default" +class "GtkScrolledWindow" style "wallust-default" +class "GtkFrame" style "wallust-default" +class "GtkWindow" style "wallust-default" +class "GtkDialog" style "wallust-default" +class "GtkTooltip" style "wallust-tooltips" + +widget_class "**" style "wallust-default" +widget_class "**" style "wallust-default" +widget_class "**" style "wallust-default" +widget "gtk-tooltip*" style "wallust-tooltips" diff --git a/.config/wallust/templates/gtk3.css b/.config/wallust/templates/gtk3.css index 9a38153..153ad31 100644 --- a/.config/wallust/templates/gtk3.css +++ b/.config/wallust/templates/gtk3.css @@ -16,9 +16,12 @@ @define-color theme_unfocused_selected_fg_color {{color15}}; @define-color borders mix({{background}}, {{color1}}, 0.5); @define-color unfocused_borders mix({{background}}, {{color1}}, 0.45); -@define-color warning_color {{color3}}; -@define-color error_color {{color1}}; -@define-color success_color {{color2}}; +/* Semantic colors keep their canonical hue and only take a palette tint: + straight {{color1}}/{{color3}} made "error" grey and "warning" blue, i.e. the + status signal was lost. */ +@define-color warning_color mix(#f5c211, {{color3}}, 0.3); +@define-color error_color mix(#e01b24, {{color1}}, 0.3); +@define-color success_color mix(#2ec27e, {{color2}}, 0.3); @define-color insensitive_bg_color mix({{background}}, {{color1}}, 0.3); @define-color insensitive_fg_color {{color8}}; @define-color insensitive_base_color mix({{background}}, {{color1}}, 0.25); @@ -102,9 +105,87 @@ headerbar:backdrop { color: {{foreground}}; } -entry { +/* Text fields need a visible edge: the base color is only a few steps away + from the window background, so a borderless entry reads as a bare label. */ +entry, +spinbutton, +spinbutton entry { background-color: mix({{background}}, {{color1}}, 0.3); color: {{foreground}}; + border: 1px solid mix({{background}}, {{color1}}, 0.6); + border-radius: 6px; +} + +entry:focus, +entry:focus-within, +spinbutton:focus-within { + border-color: mix({{color4}}, {{foreground}}, 0.3); +} + +/* List/tree headers must not take the generic button surface below. */ +treeview.view header button, +treeview.view header button:hover, +columnview header button, +.view header button { + background-color: transparent; + background-image: none; + box-shadow: none; + border: none; + border-bottom: 1px solid mix({{background}}, {{color1}}, 0.5); + border-right: 1px solid mix({{background}}, {{color1}}, 0.5); +} + +/* Disabled affordance. Our sheet loads at PRIORITY_USER, and GTK resolves + provider priority before specificity, so the `* { color }` rule above beats + every Adwaita :disabled rule — disabled widgets have to be restated here. */ +*:disabled, +label:disabled, +button:disabled, +button:disabled label, +menuitem:disabled, +menuitem:disabled label, +entry:disabled, +spinbutton:disabled, +combobox:disabled, +checkbutton:disabled, +radiobutton:disabled { + color: {{color8}}; +} + +button:disabled, +button.text-button:disabled, +button.image-button:disabled, +headerbar button:disabled { + background-color: mix({{background}}, {{color1}}, 0.4); + background-image: none; + border-color: mix({{background}}, {{color1}}, 0.45); +} + +entry:disabled, +spinbutton:disabled, +spinbutton entry:disabled { + background-color: mix({{background}}, {{color1}}, 0.25); + border-color: mix({{background}}, {{color1}}, 0.45); +} + +/* Level bars otherwise fall back to Adwaita's blue. */ +levelbar trough, +levelbar block.empty { + background-color: mix({{background}}, {{color1}}, 0.4); + border-color: mix({{background}}, {{color1}}, 0.5); +} + +levelbar block, +levelbar block.filled, +levelbar block.full, +levelbar block.high { + background-color: mix({{color4}}, {{foreground}}, 0.3); + border-color: mix({{color4}}, {{foreground}}, 0.3); +} + +levelbar block.low { + background-color: mix(#f5c211, {{color3}}, 0.3); + border-color: mix(#f5c211, {{color3}}, 0.3); } button, @@ -165,10 +246,10 @@ button.suggested-action { } button.destructive-action { - background-color: mix({{color1}}, {{foreground}}, 0.3); + background-color: mix(#e01b24, {{color1}}, 0.3); background-image: none; color: {{color15}}; - border-color: mix({{color1}}, {{foreground}}, 0.3); + border-color: mix(#e01b24, {{color1}}, 0.3); box-shadow: none; } @@ -183,9 +264,31 @@ tooltip { color: {{foreground}}; } -menu { +/* Popovers/menus float over content, so they need their own surface AND a + visible edge — the `.background` rule above otherwise gives them exactly the + window color and they read as if they had no frame at all. */ +menu, +popover, +popover.background, +popover.background > contents, +popover > contents { background-color: mix({{background}}, {{color1}}, 0.4); color: {{foreground}}; + border: 1px solid mix({{background}}, {{color1}}, 0.6); + border-radius: 8px; +} + +popover modelbutton:hover, +popover .menuitem:hover, +popover button:hover { + background-color: mix({{background}}, {{color1}}, 0.55); + color: {{foreground}}; +} + +tooltip.background, +tooltip.background > box { + border: 1px solid mix({{background}}, {{color1}}, 0.6); + border-radius: 6px; } menuitem:hover { diff --git a/.config/wallust/templates/gtk4.css b/.config/wallust/templates/gtk4.css index cfa1b18..a94df7b 100644 --- a/.config/wallust/templates/gtk4.css +++ b/.config/wallust/templates/gtk4.css @@ -3,21 +3,24 @@ @define-color accent_fg_color {{color15}}; @define-color accent_color mix({{color4}}, {{foreground}}, 0.3); -@define-color destructive_bg_color mix({{color1}}, {{foreground}}, 0.3); +/* Semantic colors keep their canonical hue and only take a palette tint: + straight {{color1}}/{{color3}} made "destructive"/"error" brown and "warning" + blue, i.e. the status signal was lost. */ +@define-color destructive_bg_color mix(#e01b24, {{color1}}, 0.3); @define-color destructive_fg_color {{color15}}; -@define-color destructive_color mix({{color1}}, {{foreground}}, 0.3); +@define-color destructive_color mix(#e01b24, {{color1}}, 0.3); -@define-color success_bg_color {{color2}}; +@define-color success_bg_color mix(#2ec27e, {{color2}}, 0.3); @define-color success_fg_color {{color15}}; -@define-color success_color {{color2}}; +@define-color success_color mix(#2ec27e, {{color2}}, 0.3); -@define-color warning_bg_color {{color3}}; +@define-color warning_bg_color mix(#f5c211, {{color3}}, 0.3); @define-color warning_fg_color {{background}}; -@define-color warning_color {{color3}}; +@define-color warning_color mix(#f5c211, {{color3}}, 0.3); -@define-color error_bg_color mix({{color1}}, {{foreground}}, 0.3); +@define-color error_bg_color mix(#e01b24, {{color1}}, 0.3); @define-color error_fg_color {{color15}}; -@define-color error_color mix({{color1}}, {{foreground}}, 0.3); +@define-color error_color mix(#e01b24, {{color1}}, 0.3); @define-color window_bg_color mix({{background}}, {{color1}}, 0.35); @define-color window_fg_color {{foreground}}; @@ -56,7 +59,9 @@ headerbar { color: {{foreground}}; } -.view, list, row, treeview { +/* NOTE: no bare `row` here — `row` also matches GtkListItemWidget inside + dropdowns/popovers, which paints an opaque box behind their labels. */ +.view, list, treeview { background-color: mix({{background}}, {{color1}}, 0.3); color: {{foreground}}; } @@ -89,9 +94,10 @@ modelbutton:active { background-color: alpha({{foreground}}, 0.15); } +/* NOTE: `.toolbar` is padding-only in Adwaita. Giving it a background paints + opaque blocks over AdwToolbarView bottom bars (e.g. the nautilus file + chooser action bar), so it is deliberately absent here. */ .osd, -.toolbar, -box.toolbar, .background.osd, .flat-style-toolbar { background-color: mix({{background}}, {{color1}}, 0.4); @@ -107,9 +113,6 @@ viewswitcher button, stackswitcher, stackswitcher button, .stack-switcher button, -columnview header, -columnview header button, -treeview.view header button, header.view { background-color: mix({{background}}, {{color1}}, 0.4); background-image: none; @@ -118,6 +121,17 @@ header.view { box-shadow: none; } +/* List/column headers sit on the view background upstream, separator only. + A raised band here reads as a stray strip under the header bar. */ +columnview header, +columnview > header, +treeview.view header { + background-color: transparent; + background-image: none; + box-shadow: none; + border-bottom: 1px solid mix({{background}}, {{color1}}, 0.5); +} + stackswitcher button:checked, viewswitcher button:checked, .stack-switcher button:checked { @@ -164,7 +178,7 @@ dialog button.suggested-action { button.destructive-action, .dialog-action-area button.destructive-action, dialog button.destructive-action { - background-color: mix({{color1}}, {{foreground}}, 0.3); + background-color: mix(#e01b24, {{color1}}, 0.3); background-image: none; color: {{color15}}; box-shadow: none; @@ -191,7 +205,7 @@ messagedialog button.suggested-action { dialog button.destructive-action, .dialog-action-area button.destructive-action, messagedialog button.destructive-action { - background-color: mix({{color1}}, {{foreground}}, 0.3); + background-color: mix(#e01b24, {{color1}}, 0.3); color: {{color15}}; } @@ -203,9 +217,9 @@ spinbutton text, combobox, combobox button, combobox entry, -dropdown, -dropdown button, -dropdown > button, +dropdown:not(.flat-dropdown), +dropdown:not(.flat-dropdown) button, +dropdown:not(.flat-dropdown) > button, fontbutton, fontbutton button, filechooserbutton, @@ -338,3 +352,51 @@ progressbar progress { background-color: mix({{color4}}, {{foreground}}, 0.3); background-image: none; } + +/* Chrome buttons (header bars, nautilus path bar, list headers) must stay flat: + the generic `button:not(...)` rule above otherwise paints a card surface over + the app's own flat styling, since our CSS loads at PRIORITY_USER and beats the + app's gresource CSS. The :not() chains exist only to out-specify it. */ +headerbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +windowhandle button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +.titlebar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +.nautilus-pathbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +button.nautilus-path-button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +columnview header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +treeview.view header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked), +header.view button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked) { + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +headerbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +windowhandle button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +.titlebar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +.nautilus-pathbar button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +button.nautilus-path-button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +columnview header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +treeview.view header button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover, +header.view button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):not(:checked):hover { + background-color: alpha({{foreground}}, 0.10); +} + +/* Flat dropdowns (nautilus file chooser filter). The :not() chain only exists + to out-specify the generic `button:not(...)` rule above. */ +dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action) { + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):hover { + background-color: alpha({{foreground}}, 0.08); +} + +dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):checked, +dropdown.flat-dropdown > button:not(.color):not(.colorsetter):not(.flat):not(.image-button):not(.suggested-action):not(.destructive-action):active { + background-color: alpha({{foreground}}, 0.14); + color: {{foreground}}; +} diff --git a/.config/wallust/templates/kdeglobals b/.config/wallust/templates/kdeglobals new file mode 100644 index 0000000..92fd043 --- /dev/null +++ b/.config/wallust/templates/kdeglobals @@ -0,0 +1,71 @@ +[KDE] +widgetStyle=qt6ct-style + +[General] +ColorScheme=Wallust + +[Colors:Window] +BackgroundNormal=mix({{background}}, {{color1}}, 0.35) +BackgroundAlternate=mix({{background}}, {{color1}}, 0.40) +ForegroundNormal={{foreground}} +ForegroundActive={{foreground}} +ForegroundInactive={{color8}} +ForegroundLink=mix({{color4}}, {{foreground}}, 0.75) +ForegroundVisited=mix({{color5}}, {{foreground}}, 0.6) +ForegroundNegative=mix(#e01b24, {{color1}}, 0.3) +ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3) +ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3) +DecorationFocus=mix({{color4}}, {{foreground}}, 0.3) +DecorationHover=mix({{color4}}, {{foreground}}, 0.3) + +[Colors:View] +BackgroundNormal=mix({{background}}, {{color1}}, 0.30) +BackgroundAlternate=mix({{background}}, {{color1}}, 0.35) +ForegroundNormal={{foreground}} +ForegroundActive={{foreground}} +ForegroundInactive={{color8}} +ForegroundLink=mix({{color4}}, {{foreground}}, 0.75) +ForegroundVisited=mix({{color5}}, {{foreground}}, 0.6) +ForegroundNegative=mix(#e01b24, {{color1}}, 0.3) +ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3) +ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3) +DecorationFocus=mix({{color4}}, {{foreground}}, 0.3) +DecorationHover=mix({{color4}}, {{foreground}}, 0.3) + +[Colors:Button] +BackgroundNormal=mix({{background}}, {{color1}}, 0.45) +BackgroundAlternate=mix({{background}}, {{color1}}, 0.55) +ForegroundNormal={{foreground}} +ForegroundActive={{foreground}} +ForegroundInactive={{color8}} +ForegroundLink=mix({{color4}}, {{foreground}}, 0.75) +ForegroundVisited=mix({{color5}}, {{foreground}}, 0.6) +ForegroundNegative=mix(#e01b24, {{color1}}, 0.3) +ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3) +ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3) +DecorationFocus=mix({{color4}}, {{foreground}}, 0.3) +DecorationHover=mix({{color4}}, {{foreground}}, 0.3) + +[Colors:Selection] +BackgroundNormal=mix({{color4}}, {{foreground}}, 0.3) +BackgroundAlternate=mix({{color4}}, {{foreground}}, 0.3) +ForegroundNormal={{color15}} +ForegroundActive={{color15}} +ForegroundInactive={{color15}} +ForegroundLink={{color15}} +ForegroundVisited={{color15}} +ForegroundNegative=mix(#e01b24, {{color1}}, 0.3) +ForegroundNeutral=mix(#f5c211, {{color3}}, 0.3) +ForegroundPositive=mix(#2ec27e, {{color2}}, 0.3) +DecorationFocus=mix({{color4}}, {{foreground}}, 0.3) +DecorationHover=mix({{color4}}, {{foreground}}, 0.3) + +[Colors:Tooltip] +BackgroundNormal=mix({{background}}, {{color1}}, 0.40) +BackgroundAlternate=mix({{background}}, {{color1}}, 0.40) +ForegroundNormal={{foreground}} + +[Colors:Header] +BackgroundNormal=mix({{background}}, {{color1}}, 0.40) +BackgroundAlternate=mix({{background}}, {{color1}}, 0.40) +ForegroundNormal={{foreground}} diff --git a/.config/wallust/templates/qt5ct-wallust.conf b/.config/wallust/templates/qt5ct-wallust.conf index d1fc79e..ebf5bcb 100644 --- a/.config/wallust/templates/qt5ct-wallust.conf +++ b/.config/wallust/templates/qt5ct-wallust.conf @@ -1,4 +1,4 @@ [ColorScheme] -active_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color4}}, {{color15}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}} -disabled_colors={{color8}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{color8}}, {{color8}}, {{color8}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{color8}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}} -inactive_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{foreground}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}} +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}} +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}} +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}} diff --git a/.config/wallust/templates/qt6ct-wallust.conf b/.config/wallust/templates/qt6ct-wallust.conf index d1fc79e..ebf5bcb 100644 --- a/.config/wallust/templates/qt6ct-wallust.conf +++ b/.config/wallust/templates/qt6ct-wallust.conf @@ -1,4 +1,4 @@ [ColorScheme] -active_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color4}}, {{color15}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}} -disabled_colors={{color8}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{color8}}, {{color8}}, {{color8}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{color8}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}} -inactive_colors={{foreground}}, {{color1}}, {{color7}}, {{color3}}, {{background}}, {{color8}}, {{foreground}}, {{color7}}, {{foreground}}, {{color1}}, {{color1}}, {{background}}, {{color1}}, {{foreground}}, {{color6}}, {{color5}}, {{color1}}, {{color1}}, {{foreground}}, {{color8}}, {{color4}} +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}} +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}} +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}}