chiark / gitweb /
el/dot-emacs.el: Twiddle Magit blame heading faces.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 2 Oct 2017 11:48:07 +0000 (12:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 2 Oct 2017 11:48:07 +0000 (12:48 +0100)
Firstly, don't pick up face weight and slant from the surrounding text.
Secondly, highlight the parts of the heading in different ways.

el/dot-emacs.el

index c46143c62432a07c22386db00b2996f7bfab7eda..db360e1e4cbe4b3b348be997176f52e43ac0ef41 100644 (file)
@@ -1548,6 +1548,18 @@ (mdw-define-face magit-diff-removed
 (mdw-define-face magit-diff-removed-highlight
   (((min-colors 64)) :foreground "#eecccc" :background "#663333")
   (((class color)) :foreground "red" :background "blue"))
+(mdw-define-face magit-blame-heading
+  (((min-colors 64)) :foreground "white" :background "grey25"
+                    :weight normal :slant normal)
+  (((class color)) :foreground "white" :background "blue"
+                  :weight normal :slant normal))
+(mdw-define-face magit-blame-name
+  (t :inherit magit-blame-heading :slant italic))
+(mdw-define-face magit-blame-date
+  (((min-colors 64)) :inherit magit-blame-heading :foreground "grey60")
+  (((class color)) :inherit magit-blame-heading :foreground "cyan"))
+(mdw-define-face magit-blame-summary
+  (t :inherit magit-blame-heading :weight bold))
 
 (mdw-define-face dylan-header-background
   (((min-colors 64)) :background "NavyBlue")