branch: externals/ef-themes
commit dcfdf3d7ea6a28864d474e7b8cc06f0a61f4a6ad
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Remove backgrounds from Git commit style warnings and errors
    
    These pertain to the commit messages in magit and vc-git that change
    colour when the text exceeds a character limit. In Magit, the line
    after the summary line (first line) must be empty, so text there gets
    another colour.
    
    The background was not needed to convey the message, given that the
    warning styles I have picked all are distinct from the main text.
---
 ef-themes.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ef-themes.el b/ef-themes.el
index 1a860dc597..8ba75b453c 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1369,8 +1369,8 @@ text should not be underlined as well) yet still blend 
in."
     `(git-commit-comment-heading ((,c :inherit (bold font-lock-comment-face))))
     `(git-commit-comment-file ((,c :inherit font-lock-comment-face :foreground 
,name)))
     `(git-commit-keyword ((,c :foreground ,keyword)))
-    `(git-commit-nonempty-second-line ((,c :background ,bg-err :foreground 
,err)))
-    `(git-commit-overlong-summary ((,c :background ,bg-warning :foreground 
,warning)))
+    `(git-commit-nonempty-second-line ((,c :foreground ,err)))
+    `(git-commit-overlong-summary ((,c :foreground ,warning)))
     `(git-commit-summary ((,c :inherit success)))
 ;;;; git-gutter
     `(git-gutter:added ((,c :background ,bg-added :foreground ,fg-added)))
@@ -2199,8 +2199,8 @@ text should not be underlined as well) yet still blend 
in."
     `(vc-dir-status-warning ((,c :inherit error)))
     `(vc-conflict-state ((,c :inherit error)))
     `(vc-edited-state ((,c :inherit italic)))
-    `(vc-git-log-edit-summary-max-warning ((,c :background ,bg-err :foreground 
,err)))
-    `(vc-git-log-edit-summary-target-warning ((,c :background ,bg-warning 
:foreground ,warning)))
+    `(vc-git-log-edit-summary-max-warning ((,c :foreground ,err)))
+    `(vc-git-log-edit-summary-target-warning ((,c :foreground ,warning)))
     `(vc-locally-added-state ((,c :inherit italic)))
     `(vc-locked-state ((,c :inherit success)))
     `(vc-missing-state ((,c :inherit error)))

Reply via email to