From 4cb30ada8567372328d662c65bbcebf96fbf3ce0 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 21:24:17 +0100 Subject: [PATCH] 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 --- settings/stylix.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/settings/stylix.nix b/settings/stylix.nix index fb28ae9..820312c 100644 --- a/settings/stylix.nix +++ b/settings/stylix.nix @@ -12,6 +12,20 @@ # under home-manager.users.fred.stylix.targets..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";