el/dot-emacs.el: Configure some Magit faces to work better in terminals.
[profile] / el / dot-emacs.el
index d8e9af7..7cd9886 100644 (file)
@@ -1421,6 +1421,28 @@ doesn't match any of the regular expressions in
 (mdw-define-face ediff-odd-diff-Ancestor
   (((class color) (type x)) :background "#320"))
 
+(mdw-define-face magit-hash
+  (((class color) (type x)) :foreground "grey40")
+  (((class color) (type tty)) :foreground "blue"))
+(mdw-define-face magit-diff-hunk-heading
+  (((class color) (type x)) :foreground "grey70" :background "grey25")
+  (((class color) (type tty)) :foreground "yellow"))
+(mdw-define-face magit-diff-hunk-heading-highlight
+  (((class color) (type x)) :foreground "grey70" :background "grey35")
+  (((class color) (type tty)) :foreground "yellow" :background "blue"))
+(mdw-define-face magit-diff-added
+  (((class color) (type x)) :foreground "#ddffdd" :background "#335533")
+  (((class color) (type tty)) :foreground "green"))
+(mdw-define-face magit-diff-added-highlight
+  (((class color) (type x)) :foreground "#cceecc" :background "#336633")
+  (((class color) (type tty)) :foreground "green" :background "blue"))
+(mdw-define-face magit-diff-removed
+  (((class color) (type x)) :foreground "#ffdddd" :background "#553333")
+  (((class color) (type tty)) :foreground "red"))
+(mdw-define-face magit-diff-removed-highlight
+  (((class color) (type x)) :foreground "#eecccc" :background "#663333")
+  (((class color) (type tty)) :foreground "red" :background "blue"))
+
 (mdw-define-face dylan-header-background
   (((class color) (type x)) :background "NavyBlue")
   (t :background "blue"))