aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-23 18:44:38 +0200
committerDanilo M. <danix@danix.xyz>2026-09-23 18:44:38 +0200
commitf0b0e9dbb9062c38b40cb6984be5dbc2ce12948a (patch)
tree4104866d5a5cb59f1ccf403eb30b30d3f057562c /AGENTS.md
parent041edc485cd81b2c564cbcaa3eb425c9ed5520e4 (diff)
downloadunified-desktop-theme-f0b0e9dbb9062c38b40cb6984be5dbc2ce12948a.tar.gz
unified-desktop-theme-f0b0e9dbb9062c38b40cb6984be5dbc2ce12948a.zip
fix: theme KDE Frameworks apps off Plasma
kcalc rendered white under the dark Kvantum theme. Off Plasma, KStyleManager forces Breeze unless kdeglobals names a widgetStyle, and KColorSchemeManager applies BreezeLight unless kdeglobals names a colour scheme; qt6ct never forwards the portal's prefer-dark to Qt. Generate a udt.colors KColorScheme from the Kvantum roles, install it to ~/.local/share/color-schemes/, and point kdeglobals at it and at kvantum-dark. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 490932d..35fde22 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -41,7 +41,7 @@ switch into a diff. Editing one is pointless: the next install overwrites it.
The generated set is `rofi/udt/palette.rasi`,
`templates/conky.conf`, `templates/waybar/theme.css`,
`templates/terminal/kitty-theme.conf`, `templates/homepage/custom.css`,
-`templates/kvantum/theme.{kvconfig,svg}`,
+`templates/kvantum/theme.{kvconfig,svg}`, `templates/kde/udt.colors`,
`templates/sublime/udt.sublime-color-scheme`,
`templates/sublime/udt.sublime-theme`, `templates/gtk/gtk{3,4}.css`,
`templates/gtk/index.theme`, `templates/gtk/assets/*.svg`,
@@ -82,6 +82,13 @@ stylesheets and their 67 widget assets are now templates rendered into
GTK4 symlink are set once. See `templates/gtk/README.md` for what is
substituted and what is deliberately left as upstream drew it.
+**KDE Frameworks apps (kcalc etc.) skip qt6ct twice off Plasma.**
+`KStyleManager` forces Breeze unless kdeglobals `[KDE] widgetStyle` is set, and
+`KColorSchemeManager` applies BreezeLight unless `[UiSettings] ColorScheme`
+names a scheme; qt6ct never passes the portal's `prefer-dark` to Qt. Either
+alone left kcalc white. `install.sh` installs a generated `udt.colors` into
+`~/.local/share/color-schemes/` and sets both keys with `kwriteconfig6`.
+
**Qt apps only read a theme at startup**, so a running one keeps the old
colours until restarted. `install.sh` cannot signal them and does not try.