chiark / gitweb /
el/dot-emacs.el: Configure some Magit faces to work better in terminals.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jul 2017 12:11:09 +0000 (13:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jul 2017 13:58:41 +0000 (14:58 +0100)
el/dot-emacs.el

index d8e9af7662c44779aa71f42951c706af096fc9e1..7cd9886cd35ccb873675dd2274e5c4fbb48d5385 100644 (file)
@@ -1421,6 +1421,28 @@ (mdw-define-face ediff-even-diff-Ancestor
 (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"))