Files
chandra/compositor/host
Claude a7909014b8
CI / test (push) Failing after 16s
Dark mode sets the system preference for apps: GTK, browsers, Qt and KDE
In the login session (--drm) the settings module's Dark mode switch, and the saved choice at
startup, now also set what other programs follow (compositor/host/system_theme.mbt):

- gsettings org.gnome.desktop.interface color-scheme prefer-dark|default: the portal's
  org.freedesktop.appearance color-scheme, followed by Chrome/Chromium, Electron, Firefox,
  GTK 4 / libadwaita and Qt 6.5+;
- gtk-theme Adwaita <-> Adwaita-dark for GTK 3 (only when it is one of those two);
- gtk-application-prefer-dark-theme in gtk-3.0 and gtk-4.0 settings.ini;
- KDE color scheme BreezeDark|BreezeLight via plasma-apply-colorscheme, else kwriteconfig6/5
  (kdeglobals [General] ColorScheme);
- qt6ct/qt5ct: a *-light / *-dark color file is swapped for its counterpart when it exists.

Missing tools are skipped. Nested windows and tests leave the system alone
(ChandraCompositor::sync_system_theme, set from --drm).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hgxf6exeYrDGcy4WW3
2026-11-25 18:57:46 +00:00
..
2026-11-25 17:12:57 +00:00
2026-11-25 17:12:57 +00:00
2026-11-25 17:12:57 +00:00
2026-11-25 17:12:57 +00:00
2026-11-25 17:12:57 +00:00