Fix: inactive bar face.

DO NOT use :inverse-video in this face since face-background gets invalid color
from :reverse-video faces.
This commit is contained in:
Vincent Zhang 2018-09-30 17:02:27 +08:00
parent 677dc9ab2c
commit b70235290d

View file

@ -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 "The face used for the left-most bar on the mode-line when eldoc-eval is
active.") 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.") "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))) (defface doom-modeline-evil-emacs-state '((t (:inherit doom-modeline-warning)))