From b85cc7ba16340d0491f1a47ef97190435899fcf5 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sat, 22 Dec 2018 23:58:36 +0800 Subject: [PATCH] Improve: face of doom-modeline-eldoc-bar. --- doom-modeline.el | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 384f28d..d51e635 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -270,8 +270,8 @@ It returns a file name which can be used directly as argument of (defface doom-modeline-panel '((t (:inherit mode-line-highlight))) - "Face for 'X out of Y' segments, such as `doom-modeline--anzu', `doom-modeline--evil-substitute' and -`iedit'") + "Face for 'X out of Y' segments, such as `doom-modeline--anzu', +`doom-modeline--evil-substitute' and`iedit'") (defface doom-modeline-info `((t (:inherit (success bold)))) @@ -289,14 +289,10 @@ It returns a file name which can be used directly as argument of (defface doom-modeline-bar '((t (:inherit highlight))) "The face used for the left-most bar on the mode-line of an active window.") -(defface doom-modeline-eldoc-bar '((t (:inherit highlight))) - "The face used for the left-most bar on the mode-line when eldoc-eval is -active.") +(defface doom-modeline-eldoc-bar `((t (:background ,(face-foreground 'doom-modeline-info)))) + "The face used for the left-most bar on the mode-line when eldoc-eval is active.") -(defface doom-modeline-inactive-bar `((t (:background - ,(face-foreground 'mode-line-inactive) - :foreground - ,(face-background 'mode-line-inactive)))) +(defface doom-modeline-inactive-bar `((t (:background ,(face-foreground 'mode-line-inactive)))) "The face used for the left-most bar on the mode-line of an inactive window.") (defface doom-modeline-evil-emacs-state '((t (:inherit doom-modeline-warning)))