From 99577ba029aac5e3a66f59ad242ecd63e36028e8 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 28 Jun 2026 03:00:55 -0400 Subject: fix(theme-studio): darken the EAT diff line backgrounds The added and removed line backgrounds in Claude Code diffs read too bright. I added eat-term-color-22 (added green) and eat-term-color-52 (removed red) to the WIP theme at about half their former brightness: #005F00 to #002f00, #5F0000 to #2f0000. EAT uses each face's foreground as the palette value for both text and background paint, so darkening the foreground darkens the diff background. The green index is confirmed. The red is the symmetric counterpart. The brighter within-line word-highlight shades are different indices, left until I sample them live. --- scripts/theme-studio/WIP.json | 12 ++++++++++++ themes/WIP-theme.el | 2 ++ 2 files changed, 14 insertions(+) diff --git a/scripts/theme-studio/WIP.json b/scripts/theme-studio/WIP.json index 1756683e..f30294db 100644 --- a/scripts/theme-studio/WIP.json +++ b/scripts/theme-studio/WIP.json @@ -3564,6 +3564,18 @@ "inherit": null, "source": "user" }, + "eat-term-color-22": { + "fg": "#002f00", + "bg": null, + "inherit": null, + "source": "user" + }, + "eat-term-color-52": { + "fg": "#2f0000", + "bg": null, + "inherit": null, + "source": "user" + }, "eat-term-color-bright-black": { "fg": "#8e919a", "bg": null, diff --git a/themes/WIP-theme.el b/themes/WIP-theme.el index de69fe87..93184fe4 100644 --- a/themes/WIP-theme.el +++ b/themes/WIP-theme.el @@ -265,6 +265,8 @@ '(eat-term-color-magenta ((t (:foreground "#8255b5")))) '(eat-term-color-cyan ((t (:foreground "#88b2c3")))) '(eat-term-color-white ((t (:foreground "#bfc4d0")))) + '(eat-term-color-22 ((t (:foreground "#002f00")))) + '(eat-term-color-52 ((t (:foreground "#2f0000")))) '(eat-term-color-bright-black ((t (:foreground "#8e919a" :weight bold)))) '(eat-term-color-bright-red ((t (:foreground "#cb6b4d" :weight bold)))) '(eat-term-color-bright-green ((t (:foreground "#74932f" :weight bold)))) -- cgit v1.2.3