branch: externals/aircon-theme
commit 9aea6766b025fbd50ecb753f218783a23cbf7f3f
Author: Gregory Chamberlain <[email protected]>
Commit: Gregory Chamberlain <[email protected]>
Apply mango to certain Magit heading selections
These faces appear when you select e.g. untracked files, diff
headings, log headings.
It might be too strong to use mango as a selection face here,
especially when the normal ‘region’ face is a subtle grey. However,
the subtle grey background occurs next to the slighly stronger bluish
grey of the ‘highlight’ face used in some Magit contexts, which does
not communicate well that it is an active region/selection to my
eyes. This is probably a wider problem with the ‘highlight’ and
‘region’ faces in general, but it's especially problematic here. So
I've had to resort to mango -- at least it's cohesive with marked
files in dired.
---
aircon-theme.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/aircon-theme.el b/aircon-theme.el
index 29e75ab6a7..0eac8cfccf 100644
--- a/aircon-theme.el
+++ b/aircon-theme.el
@@ -208,8 +208,9 @@
'(magit-diffstat-added ((t (:inherit (aircon-goblin)))))
'(magit-diffstat-removed ((t (:inherit (aircon-brick)))))
- '(magit-section-heading ((t (:inherit (aircon-sapphire bold)))))
- '(magit-section-highlight ((t (:inherit (aircon-header)))))
+ '(magit-section-heading ((t (:inherit (aircon-sapphire bold)))))
+ '(magit-section-heading-selection ((t (:inherit (aircon-mango)))))
+ '(magit-section-highlight ((t (:inherit (aircon-header)))))
'(magit-blame-heading ((t (:inherit aircon-header))))
'(magit-blame-highlight ((t (:inherit aircon-header))))
@@ -232,6 +233,7 @@
'(magit-diff-removed-highlight ((t (:inherit diff-refine-removed))))
'(magit-diff-whitespace-warning ((t (:inherit trailing-whitespace))))
'(magit-diff-file-heading ((t (:inherit vc-dir-status-edited))))
+ '(magit-diff-file-heading-selection ((t (:inherit (aircon-mango)))))
'(magit-diff-hunk-heading ((t (:inherit (aircon-header)))))
`(magit-diff-hunk-heading-highlight ((t (:background ,aircon-ghost))))