From 09dcc8cefad4cd707afb2c5034a177ec102de9d1 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 21:44:07 +0100 Subject: [PATCH] stylix: keep wallpaper tints in surfaces, neutralise foreground only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous override was too aggressive — neutralising every base00..07 slot stripped the wallpaper character out of backgrounds. Narrow the override to base03..07 so surfaces (base00..02) keep the tint while text and muted foreground go neutral. Accents stay wallpaper-derived. Co-Authored-By: Claude Opus 4.7 --- settings/stylix.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/settings/stylix.nix b/settings/stylix.nix index 820312c..ad923f6 100644 --- a/settings/stylix.nix +++ b/settings/stylix.nix @@ -12,18 +12,17 @@ # 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. + # Hybrid: keep wallpaper-derived surfaces (base00..02) so dark + # backgrounds still carry the image's tint, but neutralise the + # foreground (base05..07) and mid-tones (base03..04) so text and + # syntax read crisply instead of being washed in warm cream. + # Accents (base08..0F) stay wallpaper-derived for character. 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 + base03 = "5a5a5a"; # comments, invisibles + base04 = "9a9a9a"; # muted foreground + base05 = "e0e0e0"; # default foreground (was warm cream) base06 = "f0f0f0"; # light foreground - base07 = "ffffff"; # light background + base07 = "ffffff"; # lightest }; cursor = {