Skip to content

Commit

Permalink
refined diff faces handling
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Oct 1, 2010
1 parent c0bcd61 commit 2d13e88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion theme-roller.el
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
(diff-added)
(diff-removed)
(diff-changed)
(diff-context)
(diff-info))
(let ((color-theme-function-symbol (intern (concat "color-theme-" (downcase name)))))
`(progn
Expand Down Expand Up @@ -102,6 +103,7 @@
(senny-diff-removed ((t ,diff-removed)))
(senny-diff-changed ((t ,diff-changed)))
(senny-diff-info ((t ,diff-info)))
(senny-diff-context ((t ,diff-context)))

(border-glyph ((t (nil)))) ;; flat borders

Expand Down Expand Up @@ -152,15 +154,18 @@
(log4j-font-lock-warn-face ((t (:inherit senny-code-keyword))))

(diff-header ((t (:inherit senny-diff-info))))
(diff-file-header ((t (:inherit senny-diff-info :bold t))))
(diff-added ((t (:inherit senny-diff-added))))
(diff-removed ((t (:inherit senny-diff-removed))))
(diff-changed ((t (:inherit senny-diff-warning))))
(diff-context ((t (:inherit senny-code-comment))))
(diff-context ((t (:inherit senny-diff-context))))
(diff-index ((t (:inherit senny-code-comment))))
(diff-refine-change ((t (:inherit senny-code-comment))))

(magit-item-highlight ((t (:background nil :bold t))))
(magit-diff-add ((t (:inherit senny-diff-added))))
(magit-diff-del ((t (:inherit senny-diff-removed))))
(magit-diff-none ((t (:inherit senny-diff-context))))

(flymake-errline ((t (:inherit senny-code-error))))
(flymake-warnline ((t (:inherit senny-code-warning))))
Expand Down

0 comments on commit 2d13e88

Please sign in to comment.