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.
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 = {