branch: elpa/dracula-theme
commit f444ede3d5557d970e04e319145977afb0082da3
Author: Sebastian Reuße <[email protected]>
Commit: Sebastian Reuße <[email protected]>
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