Skip to content

Commit

Permalink
Added highlighting for diff and diff-hl modes
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Jul 18, 2016
1 parent 1a0c5b9 commit f76679d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions soria-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
)
)

Expand Down

0 comments on commit f76679d

Please sign in to comment.