el: adaptive dark/light colors for diff faces

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-12 20:56:05 +02:00
parent 9f9b6e0c18
commit f2ad0577ef
1 changed files with 6 additions and 3 deletions

View File

@ -240,17 +240,20 @@ The server dispatches it asynchronously."
;;;; ──────────────── Diff faces ────────────────
(defface ollie-diff-added
'((t :foreground "green3"))
'((((background dark)) :foreground "#5faf5f")
(((background light)) :foreground "#3a7a3a"))
"Face for added lines in tool-result diff output."
:group 'ollie)
(defface ollie-diff-removed
'((t :foreground "red3"))
'((((background dark)) :foreground "#d75f5f")
(((background light)) :foreground "#a02020"))
"Face for removed lines in tool-result diff output."
:group 'ollie)
(defface ollie-diff-hunk-header
'((t :foreground "cyan3"))
'((((background dark)) :foreground "#5fafaf")
(((background light)) :foreground "#1a6a6a"))
"Face for hunk headers in tool-result diff output."
:group 'ollie)