From b70235290d568c77a08a1838458b337270032b42 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 30 Sep 2018 17:02:27 +0800 Subject: [PATCH] Fix: inactive bar face. DO NOT use :inverse-video in this face since face-background gets invalid color from :reverse-video faces. --- doom-modeline.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index ec17457..701df73 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -189,7 +189,10 @@ Given ~/Projects/FOSS/emacs/lisp/comint.el "The face used for the left-most bar on the mode-line when eldoc-eval is active.") -(defface doom-modeline-inactive-bar '((t (:inherit warning :inverse-video t))) +(defface doom-modeline-inactive-bar `((t (:background + ,(face-foreground 'mode-line-inactive) + :foreground + ,(face-background '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)))