From a9d57ac4d3fa9be2fc08b7ed0c555b0af3cce67e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 18 Aug 2023 19:45:14 +0200 Subject: emacs: Add colors for (ma)git --- .config/emacs/mango-theme.el | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to '.config/emacs') diff --git a/.config/emacs/mango-theme.el b/.config/emacs/mango-theme.el index 80dc6d2..1d76660 100644 --- a/.config/emacs/mango-theme.el +++ b/.config/emacs/mango-theme.el @@ -59,7 +59,8 @@ graphically, so I shouldn’t need to have multiple specs per face. (khaki "#F0E68C") (lime "#B8F182") (orange "#F1B282") - (citron "#ED97F5"))) + (citron "#ED97F5")) + (spanish-red "#E60026"))) (mango-theme--generate-set-faces ;; Standard Stuff @@ -132,6 +133,23 @@ graphically, so I shouldn’t need to have multiple specs per face. (Info-quoted :inherit default) + ;; Magit + (magit-diff-hunk-heading + :background ,(mango-theme--get-color 'background-cool)) + (magit-diff-hunk-heading-highlight + :background ,(mango-theme--get-color 'middleground)) + (magit-diff-context-highlight + :inherit hl-line) + (magit-section-highlight + :inherit hl-line) + + (git-commit-summary + :foreground ,(mango-theme--get-color 'khaki)) + (git-commit-overlong-summary + :foreground ,(mango-theme--get-color 'foreground) + :background ,(mango-theme--get-color 'spanish-red) + :weight bold) + ;; Vertico (vertico-current :inherit hl-line)) -- cgit v1.2.3