commit c3edb6f8be3674375378674148164a0cfe8a8eec
parent 6a782bcb7cec2d631c93ccfc091b5f2c7f81ee14
Author: Vitalie Spinu <spinuvit@gmail.com>
Date: Fri, 28 Dec 2012 16:53:31 +0100
Add ediff faces.
The faces were completely indistinguishable, especially in terminal.
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/solarized.el b/solarized.el
@@ -98,6 +98,9 @@
;; Light/Dark adaptive higher/lower contrast accented colors
;; Only use these in exceptional cirmumstances!
+ (solarized-fg-hc (if (eq variant 'light) base3 base03))
+ (solarized-fg-lc (if (eq variant 'light) base03 base3))
+
(yellow-hc (if (eq variant 'light) yellow-d yellow-l))
(yellow-lc (if (eq variant 'light) yellow-l yellow-d))
(orange-hc (if (eq variant 'light) orange-d orange-l))
@@ -307,6 +310,14 @@
`(diff-file-header
((,class (:background ,solarized-bg :foreground ,solarized-fg :weight bold))))
+ ;; ediff
+ `(ediff-fine-diff-A ((,class (:background ,orange-lc))))
+ `(ediff-fine-diff-B ((,class (:background ,green-lc))))
+ `(ediff-even-diff-A ((,class (:background ,solarized-comments :foreground ,solarized-fg-lc ))))
+ `(ediff-odd-diff-A ((,class (:background ,solarized-comments :foreground ,solarized-fg-hc ))))
+ `(ediff-even-diff-B ((,class (:background ,solarized-comments :foreground ,solarized-fg-hc ))))
+ `(ediff-odd-diff-B ((,class (:background ,solarized-comments :foreground ,solarized-fg-lc ))))
+
;; epc
`(epc:face-title ((,class (:foreground ,magenta :weight bold))))