branch: externals/standard-themes
commit 036f97761669bf86399a19f6e8bfce7658e26b07
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Make git commit summary face inherit 'success' face
    
    We do this for better semantics. When we highlight stylistic warnings,
    we use the 'warning', 'error' faces, so we need the summary to have
    the 'success' face to be sure that all those are sufficiently
    distinct (whereas it is not clear that accent-0 and warning are
    distinct).
---
 standard-themes.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/standard-themes.el b/standard-themes.el
index 7e4b9be95b..0d27d5e818 100644
--- a/standard-themes.el
+++ b/standard-themes.el
@@ -981,7 +981,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(change-log-name ((,c :foreground ,name)))
     `(log-edit-header ((,c :inherit bold)))
     `(log-edit-headers-separator ((,c :height 1 :background ,border :extend 
t)))
-    `(log-edit-summary ((,c :inherit bold :foreground ,accent-0)))
+    `(log-edit-summary ((,c :inherit success)))
     `(log-edit-unknown-header ((,c :inherit shadow)))
     `(log-view-commit-body (( )))
     `(log-view-file ((,c :inherit bold)))
@@ -1291,7 +1291,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(git-commit-keyword ((,c :foreground ,keyword)))
     `(git-commit-nonempty-second-line ((,c :inherit error)))
     `(git-commit-overlong-summary ((,c :inherit warning)))
-    `(git-commit-summary ((,c :inherit bold :foreground ,accent-0)))
+    `(git-commit-summary ((,c :inherit success)))
 ;;;; git-rebase
     `(git-rebase-comment-hash ((,c :inherit font-lock-comment-face :foreground 
,constant)))
     `(git-rebase-comment-heading  ((,c :inherit (bold 
font-lock-comment-face))))

Reply via email to