Skip to content

Commit 84a53e0

Browse files
committed
fix #741: mode-line-inactive face may be too dark
1 parent a69f02d commit 84a53e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doom-modeline-core.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,8 +1345,7 @@ If INACTIVE-FACE is nil, `mode-line-inactive' face will be used."
13451345
(or (and (facep face) `(:inherit (doom-modeline ,face)))
13461346
(and (facep 'mode-line-active) '(:inherit (doom-modeline mode-line-active)))
13471347
'(:inherit (doom-modeline mode-line)))
1348-
(or (and (facep face) `(:inherit (doom-modeline mode-line-inactive ,face)))
1349-
(and (facep inactive-face) `(:inherit (doom-modeline ,inactive-face)))
1348+
(or (and (facep inactive-face) `(:inherit (doom-modeline ,inactive-face)))
13501349
'(:inherit (doom-modeline mode-line-inactive)))))
13511350

13521351
(defun doom-modeline-string-pixel-width (str)

0 commit comments

Comments
 (0)