diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2016-07-18 09:49:21 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2016-07-18 09:49:21 +0200 |
| commit | f76679da8d209f0e200b1ee6c41ff0de78560b00 (patch) | |
| tree | a063a3dac87ee28680730951e3d309813be137f1 | |
| parent | 1a0c5b91b3610ffa1d130e4bd09418c98d869d42 (diff) | |
| download | soria-f76679da8d209f0e200b1ee6c41ff0de78560b00.tar.gz soria-f76679da8d209f0e200b1ee6c41ff0de78560b00.zip | |
Added highlighting for diff and diff-hl modes
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
| -rw-r--r-- | soria-theme.el | 38 |
1 files changed, 38 insertions, 0 deletions
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)))) ) ) |
