emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-themes 576f902613 3/5: Use more appropriate style


From: ELPA Syncer
Subject: [elpa] externals/modus-themes 576f902613 3/5: Use more appropriate style for Git commit summary
Date: Fri, 30 Jun 2023 03:59:01 -0400 (EDT)

branch: externals/modus-themes
commit 576f90261399c5e87b9a4fc5b013bb684161d5f4
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Use more appropriate style for Git commit summary
    
    The 'success' face is designed to contrast with the 'warning' face
    that is used to show overlong summaries.  Furthermore, we must not
    hardcode the blue colour, as it is not suitable for tritanopia.
---
 modus-themes.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modus-themes.el b/modus-themes.el
index 9ecc300010..cac7de8bcc 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -2016,7 +2016,7 @@ FG and BG are the main colors."
     `(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 ,blue)))
+    `(log-edit-summary ((,c :inherit success)))
     `(log-edit-unknown-header ((,c :inherit shadow)))
     `(log-view-commit-body (( )))
     `(log-view-file ((,c :inherit bold)))
@@ -2531,7 +2531,7 @@ FG and BG are the main colors."
     `(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 ,blue)))
+    `(git-commit-summary ((,c :inherit success)))
 ;;;;; git-gutter
     `(git-gutter:added ((,c :background ,bg-added-fringe)))
     `(git-gutter:deleted ((,c :background ,bg-removed-fringe)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]