Update faces of window and workspace numbers.

This commit is contained in:
Vincent Zhang 2018-09-30 21:42:41 +08:00
parent cd07d77c9f
commit 08b7d7621f

View file

@ -964,7 +964,7 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
(if (< 0 (length num))
(propertize (format " %s " num)
'face (if (doom-modeline--active)
'doom-modeline-buffer-file))
'doom-modeline-buffer-major-mode))
"")))
@ -983,7 +983,7 @@ enabled."
tag
(when num (int-to-string num)))))
(propertize (format " %s " str) 'face
(if (doom-modeline--active) 'doom-modeline-highlight)))
(if (doom-modeline--active) 'doom-modeline-buffer-major-mode)))
""))