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

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

[elpa] externals/modus-themes 7f2952c499 1/3: Make consult-preview-curso


From: ELPA Syncer
Subject: [elpa] externals/modus-themes 7f2952c499 1/3: Make consult-preview-cursor use the correct foreground
Date: Wed, 8 Mar 2023 00:58:52 -0500 (EST)

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

    Make consult-preview-cursor use the correct foreground
    
    By default, it inherits from the 'cursor' face.  That is a special
    face that only reads a ':background' attribute.  As such, the
    'consult-preview-cursor' did not get the ':foreground' it needed.
---
 modus-themes.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modus-themes.el b/modus-themes.el
index f8faf646ea..e1e8cbb577 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -1929,6 +1929,7 @@ FG and BG are the main colors."
     `(consult-imenu-prefix ((,c :inherit shadow)))
     `(consult-line-number ((,c :inherit shadow)))
     `(consult-line-number-prefix ((,c :inherit shadow)))
+    `(consult-preview-cursor ((,c :background ,cursor :foreground ,bg-main)))
 ;;;;; corfu
     `(corfu-current ((,c :inherit modus-themes-completion-selected)))
     `(corfu-bar ((,c :background ,fg-dim)))



reply via email to

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