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

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

[nongnu] elpa/dracula-theme f444ede 007/187: Emacs: set which-func-mode-


From: ELPA Syncer
Subject: [nongnu] elpa/dracula-theme f444ede 007/187: Emacs: set which-func-mode-face.
Date: Thu, 21 Oct 2021 18:04:46 -0400 (EDT)

branch: elpa/dracula-theme
commit f444ede3d5557d970e04e319145977afb0082da3
Author: Sebastian Reuße <seb@wirrsal.net>
Commit: Sebastian Reuße <seb@wirrsal.net>

    Emacs: set which-func-mode-face.
    
    which-func-mode uses a horrible heuristics to define the face used on
    the mode-line. Notably, when using dracula theme, which-func-mode-face
    will have foreground color Blue1, which is an eyesore when combined with
    dracula theme.
    
    This fixes the problem by making sure we are using the same foreground
    as function-names.
---
 dracula-theme.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dracula-theme.el b/dracula-theme.el
index 02f45a5..10a54e1 100644
--- a/dracula-theme.el
+++ b/dracula-theme.el
@@ -268,7 +268,8 @@
    `(enh-ruby-op-face ((,class (:foreground ,keyword))))
    `(enh-ruby-heredoc-delimiter-face ((,class (:foreground ,str))))
    `(enh-ruby-string-delimiter-face ((,class (:foreground ,str))))
-   `(enh-ruby-regexp-delimiter-face ((,class (:foreground ,str))))))
+   `(enh-ruby-regexp-delimiter-face ((,class (:foreground ,str))))
+   `(which-func ((,class (:inherit ,font-lock-function-name-face))))))
 
 ;;;###autoload
 (when load-file-name



reply via email to

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