mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-24 03:00:10 +00:00
Change faces of flycheck icons.
This commit is contained in:
parent
bba86db87f
commit
8aeb80f32d
1 changed files with 4 additions and 4 deletions
|
@ -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 " " " ")))
|
||||||
|
@ -917,9 +917,9 @@ Uses `all-the-icons-material' to fetch the icon."
|
||||||
(let-alist (flycheck-count-errors flycheck-current-errors)
|
(let-alist (flycheck-count-errors flycheck-current-errors)
|
||||||
(let ((sum (+ (or .error 0) (or .warning 0))))
|
(let ((sum (+ (or .error 0) (or .warning 0))))
|
||||||
(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))
|
||||||
|
|
Loading…
Reference in a new issue