stylix: neutralise surface tones while keeping wallpaper accents

stylix.override pins base00..07 to greyscale so backgrounds, sidebars
and body text stop picking up the wallpaper's warm cream / teal tint.
Accent slots (base08..0F) stay wallpaper-derived for character.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 21:24:17 +01:00
parent d839fe0c3e
commit 4cb30ada85

View file

@ -12,6 +12,20 @@
# under home-manager.users.fred.stylix.targets.<x>.enable = false.
autoEnable = true;
# Keep accent slots (base08..0F) wallpaper-derived for that
# character, but neutralise the surfaces (base00..07) so the
# background doesn't pick up the wallpaper tint.
override = {
base00 = "1a1a1a"; # default background
base01 = "262626"; # lighter background (status bars, line numbers)
base02 = "383838"; # selection background
base03 = "5a5a5a"; # comments, invisibles, line highlight
base04 = "828282"; # dark foreground (status bar)
base05 = "e0e0e0"; # default foreground
base06 = "f0f0f0"; # light foreground
base07 = "ffffff"; # light background
};
cursor = {
package = pkgs.adwaita-icon-theme;
name = "Adwaita";