diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-23 18:44:38 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-23 18:44:38 +0200 |
| commit | f0b0e9dbb9062c38b40cb6984be5dbc2ce12948a (patch) | |
| tree | 4104866d5a5cb59f1ccf403eb30b30d3f057562c /AGENTS.md | |
| parent | 041edc485cd81b2c564cbcaa3eb425c9ed5520e4 (diff) | |
| download | unified-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.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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. |
