el/dot-emacs.el: Magit colouring.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 25 Oct 2012 09:27:06 +0000 (10:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 25 Oct 2012 09:27:06 +0000 (10:27 +0100)
Make diffs more interesting (and easier to read) in Magit.

el/dot-emacs.el

index 503fa37..3261f9e 100644 (file)
@@ -972,6 +972,15 @@ doesn't match any of the regular expressions in
   (((class color) (type x)) :background "RoyalBlue4")
   (t :underline t))
 
+(mdw-define-face magit-diff-add
+  (t :foreground "green"))
+(mdw-define-face magit-diff-del
+  (t :foreground "red"))
+(mdw-define-face magit-diff-file-header
+  (t :weight bold))
+(mdw-define-face magit-diff-hunk-header
+  (t :foreground "SkyBlue1"))
+
 (mdw-define-face erc-input-face
   (t :foreground "red"))