aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-28 03:00:55 -0400
committerCraig Jennings <c@cjennings.net>2026-06-28 03:00:55 -0400
commit99577ba029aac5e3a66f59ad242ecd63e36028e8 (patch)
tree07fe898b3f9679c15d1d49553cb43687b0ff9955
parentb6ba0b97bd6085961f1a447d94740efb336d4ce6 (diff)
downloaddotemacs-99577ba029aac5e3a66f59ad242ecd63e36028e8.tar.gz
dotemacs-99577ba029aac5e3a66f59ad242ecd63e36028e8.zip
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.
-rw-r--r--scripts/theme-studio/WIP.json12
-rw-r--r--themes/WIP-theme.el2
2 files changed, 14 insertions, 0 deletions
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))))