summaryrefslogtreecommitdiff
path: root/.config/emacs/mango-theme.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-18 19:45:14 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-18 19:45:14 +0200
commita9d57ac4d3fa9be2fc08b7ed0c555b0af3cce67e (patch)
treee5565a4534ba7b305b77204cd02dc2ac78724846 /.config/emacs/mango-theme.el
parentdc8fb6b8af599bf9e53d39e4cf2ba2ee7065e680 (diff)
emacs: Add colors for (ma)git
Diffstat (limited to '.config/emacs/mango-theme.el')
-rw-r--r--.config/emacs/mango-theme.el20
1 files changed, 19 insertions, 1 deletions
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))