Change faces of flycheck icons.

This commit is contained in:
Vincent Zhang 2018-11-26 14:09:22 +08:00
parent bba86db87f
commit 8aeb80f32d

View file

@ -900,7 +900,7 @@ Uses `all-the-icons-material' to fetch the icon."
(concat (if vc-mode " " " ") (concat (if vc-mode " " " ")
(when icon (when icon
(concat (concat
(doom-modeline-icon-material icon :face face :height 0.95 :v-adjust (or voffset -0.2)) (doom-modeline-icon-material icon :face face :height 1.1 :v-adjust (or voffset -0.2))
(if text doom-modeline-vspc))) (if text doom-modeline-vspc)))
(if text (propertize text 'face face)) (if text (propertize text 'face face))
(if vc-mode " " " "))) (if vc-mode " " " ")))
@ -919,7 +919,7 @@ Uses `all-the-icons-material' to fetch the icon."
(doom-modeline-flycheck-icon "do_not_disturb_alt" (doom-modeline-flycheck-icon "do_not_disturb_alt"
(number-to-string sum) (number-to-string sum)
(if .error 'doom-modeline-urgent 'doom-modeline-warning) (if .error 'doom-modeline-urgent 'doom-modeline-warning)
-0.15))) -0.2)))
(doom-modeline-flycheck-icon "check" nil 'doom-modeline-info))) (doom-modeline-flycheck-icon "check" nil 'doom-modeline-info)))
(`running (doom-modeline-flycheck-icon "access_time" nil 'font-lock-doc-face -0.25)) (`running (doom-modeline-flycheck-icon "access_time" nil 'font-lock-doc-face -0.25))
(`no-checker (doom-modeline-flycheck-icon "sim_card_alert" "-" 'font-lock-doc-face)) (`no-checker (doom-modeline-flycheck-icon "sim_card_alert" "-" 'font-lock-doc-face))