From f2ad0577efbb023e99600a985c6ba11a2aad3eb1 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Sun, 12 Apr 2026 20:56:05 +0200 Subject: [PATCH] el: adaptive dark/light colors for diff faces Co-Authored-By: Claude Sonnet 4.6 --- ollie.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ollie.el b/ollie.el index e94d131..ed3e462 100644 --- a/ollie.el +++ b/ollie.el @@ -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)