commit acebff1768978dc0e586defae3c524ef6c9f1c3f
parent bd47e056142a51b3186c69e9eae1d8565226dda3
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sun, 8 Jan 2023 15:23:11 +0100
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:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git 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)