# luxnox High-contrast color schemes: **lux** (light, white background) and **nox** (dark, black background). Every color that can be text is at least 7:1 against its background (WCAG AAA), with deep "ink" hues, a blue accent and inverted selection. `palette.toml` is the single source of truth; app configs are generated. ./luxnox check # contrast report (fails under 7:1) ./luxnox show # sample text in the terminal's 16 colors make install # generate + install, kitty reloads luxnox-toggle # flip system light/dark (or: luxnox-toggle dark|light) ## Apps Switching: `luxnox-toggle` (Super+Shift+T in dwl) flips the system color-scheme. dwl follows it and runs `luxnox-apply`, which points `~/.local/state/luxnox/current` at the mode's files and sets the GTK3 theme. - **kitty**: `dark-theme.auto.conf` / `light-theme.auto.conf`; follows the color-scheme itself. - **dwl**: bar, borders, background, compiled in from `luxnox.h` (`make install-dwl`, then rebuild dwl). - **fuzzel, swaync, wob, swaylock, wmenu** (`luxnox-menu`): per-mode files via the `current` link. - **GTK4/libadwaita**: `~/.config/gtk-4.0/gtk.css` holds both modes. - **GTK3**: themes `luxnox` (light, with a dark variant) and `luxnox-dark`, named like adw-gtk3 because libhandy apps strip `-dark` and use the base theme's `gtk-dark.css`. - **Emacs**: themes `lux` and `nox`, Modus Operandi/Vivendi derivatives with luxnox's palette (`make install-emacs` puts them in `~/.local/share/luxnox/emacs/`); the Doom config's auto-dark switches them. - **Qt** (qt6ct): palettes `luxnox-{lux,nox}.conf` in `~/.config/qt6ct/colors/`; `luxnox-apply` rewrites `qt6ct.conf` (palette, and Breeze / Breeze Dark icons, since Qt doesn't recolour symbolic icons) and qt6ct repaints running apps. KeePassXC uses it with its theme set to Classic. - **Flatpak Qt** (qBittorrent): can't load the host's qt6ct, so `make install-qt` sets `QT_QPA_PLATFORMTHEME=kde` for the apps in `QT_FLATPAKS` and they use the KDE runtime's platform theme. `luxnox-apply` writes the mode's color scheme over `~/.config/kdeglobals` (in place, since Flatpak bind-mounts it), then sends KDE's palette-changed D-Bus signal as `org.kde.KGlobalSettings` (the name the app may hear from) so running apps repaint. Needs python-gobject.