summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-05-20 17:38:20 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-05-21 12:53:46 +0200
commitf296854928d2b06b77ac93bf751d0e5eee8a7b85 (patch)
tree30a78317e2d622a8ad27a6d6d5c55056eec60405
parent796aa5b3d4506e1e6e12431fc430e90b438ca8a5 (diff)
downloadeighters-theme-f296854928d2b06b77ac93bf751d0e5eee8a7b85.tar.xz
Make magit-diff* faces use orange and blue
The hunk refinement feature relies on the diff-refine-* faces, which I customized to use orange and blue. That resulted in red-and-green sections with orange-and-blue words. I'm not satisfied with the current result though; the blue does not stand out enough to my taste.
-rw-r--r--eighters-theme.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/eighters-theme.el b/eighters-theme.el
index 9941a31..4af626a 100644
--- a/eighters-theme.el
+++ b/eighters-theme.el
@@ -3,7 +3,7 @@
;; TODO: make comment foreground brighter? (eg ala linum, shadow)
;; TODO: make "bold" face whiter? (see Man-overstrike)
-;; TODO: try to make buffer-id stand out again?
+;; TODO: make diff faces stand out more
;; The default face's font and height are not defined, so that they
;; can be set individually for different computers in .Xresources; see
@@ -60,8 +60,8 @@
'(ediff-fine-diff-Ancestor ((t (:background "#681048"))))
'(diff-header ((t (:foreground "steelblue1" :weight bold))))
'(diff-file-header ((t (:foreground "cyan" :weight bold))))
- '(diff-added ((t (:inherit (diff-changed) :foreground "steel blue"))))
- '(diff-refine-added ((t (:inherit (diff-refine-changed) :foreground "dodger blue"))))
+ '(diff-added ((t (:foreground "steel blue" :inherit (diff-changed)))))
+ '(diff-refine-added ((t (:foreground "dodger blue" :inherit (diff-refine-changed)))))
'(diff-removed ((t (:foreground "orange3" :inherit (diff-changed)))))
'(diff-refine-removed ((t (:foreground "orange" :inherit (diff-refine-changed)))))
'(diff-changed ((t (:background "gray25"))))
@@ -77,7 +77,13 @@
'(which-func ((t (:inherit (font-lock-function-name-face)))))
'(sh-heredoc ((t (:foreground "gold"))))
'(erc-input-face ((t (:foreground "brown1"))))
- '(erc-my-nick-face ((t (:foreground "brown1" :weight bold)))))
+ '(erc-my-nick-face ((t (:foreground "brown1" :weight bold))))
+ '(magit-diff-added ((t (:inherit (diff-added)))))
+ '(magit-diff-added-highlight ((t (:inherit (diff-added)))))
+ '(magit-diff-removed ((t (:inherit (diff-removed)))))
+ '(magit-diff-removed-highlight ((t (:inherit (diff-removed)))))
+ '(magit-diffstat-added ((t (:foreground "steel blue"))))
+ '(magit-diffstat-removed ((t (:foreground "orange3")))))
(custom-theme-set-variables 'eighters
'(ansi-color-names-vector