summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-01-08 15:23:11 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-01-08 15:23:11 +0100
commitacebff1768978dc0e586defae3c524ef6c9f1c3f (patch)
treeab187ea4bb596200dea715366878153417a4c378 /.emacs.d
parentbd47e056142a51b3186c69e9eae1d8565226dda3 (diff)
downloaddotfiles-acebff1768978dc0e586defae3c524ef6c9f1c3f.tar.xz
Rearrange face list
The rules I'm trying to adhere to: 1. theme faces, then standard faces, then third-parties; 2. if keeping a group of faces together makes maintenance easier, define a "subgroup" and sort it at the end; 3. keep things sorted lexicographically, unless another order makes sense (e.g. section hierarchy) and it's too much of a hassle to add groups of comments.
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/eighters-theme.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el
index a15079e..50d972a 100644
--- a/.emacs.d/eighters-theme.el
+++ b/.emacs.d/eighters-theme.el
@@ -186,19 +186,22 @@
`(diff-hl-delete ((t (:foreground ,fg-red :background ,bg-red))))
`(diff-hl-insert ((t (:foreground ,fg-blue :background ,bg-blue))))
`(diff-hl-change ((t (:foreground ,fg-yellow :background ,bg-yellow))))
+ `(which-key-group-description-face ((t (:foreground ,fg-green-dim))))
+ `(which-key-key-face ((t :weight bold :inherit help-key-binding)))
+ ;;; Magit.
+ ;;;; Section backgrounds.
`(magit-section-highlight ((t :background ,bg-hl-dimmer)))
+ `(magit-diff-revision-summary ((t (:weight bold :inherit magit-diff-hunk-heading))))
`(magit-diff-context ((t (:foreground ,fg-dim))))
`(magit-diff-context-highlight ((t (:background ,bg-hl-dimmer :inherit magit-diff-context))))
`(magit-diff-hunk-heading ((t (:background ,bg-hl-dim))))
`(magit-diff-hunk-heading-highlight ((t (:background ,bg-hl))))
+ ;;;; Diffs.
`(magit-diff-removed ((t (:foreground ,fg-dim :inherit diff-removed))))
`(magit-diff-removed-highlight ((t (:background ,bg-red-dim))))
`(magit-diffstat-removed ((t (:foreground ,fg-red))))
`(magit-diff-added ((t (:foreground ,fg-dim :inherit diff-added))))
`(magit-diff-added-highlight ((t (:background ,bg-blue-dim))))
- `(magit-diffstat-added ((t (:foreground ,fg-blue))))
- `(magit-diff-revision-summary ((t (:weight bold :inherit magit-diff-hunk-heading))))
- `(which-key-group-description-face ((t (:foreground ,fg-green-dim))))
- `(which-key-key-face ((t :weight bold :inherit help-key-binding)))))
+ `(magit-diffstat-added ((t (:foreground ,fg-blue))))))
(provide-theme 'eighters)