From f76679da8d209f0e200b1ee6c41ff0de78560b00 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 18 Jul 2016 09:49:21 +0200 Subject: Added highlighting for diff and diff-hl modes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- soria-theme.el | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'soria-theme.el') diff --git a/soria-theme.el b/soria-theme.el index 7a0a35d..229812a 100644 --- a/soria-theme.el +++ b/soria-theme.el @@ -480,6 +480,44 @@ It adds to font-lock-number-face decimal, octal, hex and bin formats." `(rainbow-delimiters-missmatched-face ((,class (:foreground ,soria-purple :bold t)))) + + ;; diff + `(diff-added + ((,class (:background ,soria-darkgreen :foreground ,soria-whitest)))) + + `(diff-changed + ((,class (:background ,soria-darkpurple :foreground ,soria-whitest)))) + + `(diff-removed + ((,class (:background ,soria-redpastel :foreground ,soria-whitest)))) + + `(diff-header + ((,class (:background ,soria-darkgray :foreground ,soria-white)))) + + `(diff-file-header + ((,class (:background ,soria-darkgray :foreground ,soria-white)))) + + `(diff-refine-added + ((,class (:background ,soria-darkgreen :foreground ,soria-darkgray)))) + + `(diff-refine-change + ((,class (:background ,soria-darkpurple :foreground ,soria-darkgray)))) + + `(diff-refine-removed + ((,class (:background ,soria-redpastel :foreground ,soria-darkgray)))) + + ;; diff-hl + `(diff-hl-change + ((,class (:background ,soria-darkpurple :foreground ,soria-whitest)))) + + `(diff-hl-delete + ((,class (:background ,soria-redpastel :foreground ,soria-whitest)))) + + `(diff-hl-insert + ((,class (:background ,soria-darkgreen :foreground ,soria-whitest)))) + + `(diff-hl-unknown + ((,class (:background ,soria-darkpurple :foreground ,soria-whitest)))) ) ) -- cgit v1.2.3