commit 606d59350ca39ba3733b97952fcb2cc9daa838cd
parent da7df45127e5c5064fa32fb4ba866ef97d5b798e
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sat, 14 Nov 2020 17:21:18 +0100
Add more contrast on diff refinements
Diffstat:
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/eighters-theme.el b/eighters-theme.el
@@ -7,8 +7,6 @@
;; TODO: unify quotes (org, markdown, auctex, tex)
;; TODO: org-fontify-quote-and-verse-blocks: t
-;; TODO: light up magit-{section,diff-context}-highlight
-
;; The default face's font and height are not defined, so that they
;; can be set individually for different computers in .Xresources; see
;; xrdb(1), Xsession(5) and (emacs) Fonts.
@@ -22,7 +20,7 @@
'(vertical-border ((t (:foreground "gray50"))))
'(escape-glyph ((t (:foreground "red2"))))
'(minibuffer-prompt ((t (:foreground "steelblue1" :weight bold))))
- '(highlight ((t (:background "gray10"))))
+ '(highlight ((t (:background "gray5"))))
'(region ((t (:background "steel blue" :foreground "gainsboro"))))
'(font-lock-builtin-face ((t (:foreground "steelblue1" :weight bold))))
'(font-lock-comment-face ((t (:foreground "gray50" :slant italic))))
@@ -53,9 +51,9 @@
'(compilation-mode-line-fail ((t (:inherit (compilation-error)))))
'(calendar-today ((t (:inverse-video t))))
;; Main diff faces, and heirs.
- '(diff-added ((t (:background "#12222f"))))
- '(diff-removed ((t (:background "#2f1e00"))))
- '(diff-changed ((t (:background "#2f2800"))))
+ '(diff-added ((t (:background "#091117"))))
+ '(diff-removed ((t (:background "#170f00"))))
+ '(diff-changed ((t (:background "#171400"))))
'(diff-refine-added ((t (:background "#1b3347"))))
'(diff-refine-removed ((t (:background "#472e00"))))
'(diff-refine-changed ((t (:background "#473c00"))))
@@ -76,7 +74,7 @@
;; Supplementary diff faces.
'(diff-header ((t (:foreground "steelblue1" :weight bold))))
'(diff-file-header ((t (:foreground "cyan" :weight bold))))
- '(ediff-current-diff-Ancestor ((t (:background "#2f0921"))))
+ '(ediff-current-diff-Ancestor ((t (:background "#170410"))))
'(ediff-fine-diff-Ancestor ((t (:background "#470e32"))))
'(ediff-even-diff-A ((t (:inherit (highlight)))))
'(ediff-odd-diff-A ((t (:inherit (highlight)))))
diff --git a/helpers.el b/helpers.el
@@ -32,7 +32,7 @@
"*oranges*")
(list-colors-display
- (seq-map (lambda (c) (my/color-mix my/background c 0.8))
+ (seq-map (lambda (c) (my/color-mix my/background c 0.9))
'("orange2" "steelblue2" "gold2" "maroon2"))
"*regular-diff*")