stylix: keep wallpaper tints in surfaces, neutralise foreground only

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 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 21:44:07 +01:00
parent 4cb30ada85
commit 09dcc8cefa

View file

@ -12,18 +12,17 @@
# under home-manager.users.fred.stylix.targets.<x>.enable = false. # under home-manager.users.fred.stylix.targets.<x>.enable = false.
autoEnable = true; autoEnable = true;
# Keep accent slots (base08..0F) wallpaper-derived for that # Hybrid: keep wallpaper-derived surfaces (base00..02) so dark
# character, but neutralise the surfaces (base00..07) so the # backgrounds still carry the image's tint, but neutralise the
# background doesn't pick up the wallpaper tint. # 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 = { override = {
base00 = "1a1a1a"; # default background base03 = "5a5a5a"; # comments, invisibles
base01 = "262626"; # lighter background (status bars, line numbers) base04 = "9a9a9a"; # muted foreground
base02 = "383838"; # selection background base05 = "e0e0e0"; # default foreground (was warm cream)
base03 = "5a5a5a"; # comments, invisibles, line highlight
base04 = "828282"; # dark foreground (status bar)
base05 = "e0e0e0"; # default foreground
base06 = "f0f0f0"; # light foreground base06 = "f0f0f0"; # light foreground
base07 = "ffffff"; # light background base07 = "ffffff"; # lightest
}; };
cursor = { cursor = {