summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2020-09-21 08:51:24 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2020-09-21 08:52:33 +0300
commit7b49796ea39d174dc6d802c5b4ecba58408de4bd (patch)
tree4c528a0cbde2e07ac422e10de3cbf227f9c850f5
parentc960eb0031e059d75fd9d050e41538226796ad59 (diff)
Add support for flycheck-color-mode-line
-rw-r--r--doc/modus-themes.org1
-rw-r--r--modus-operandi-theme.el6
-rw-r--r--modus-vivendi-theme.el6
3 files changed, 13 insertions, 0 deletions
diff --git a/doc/modus-themes.org b/doc/modus-themes.org
index fb7e925..617acfe 100644
--- a/doc/modus-themes.org
+++ b/doc/modus-themes.org
@@ -1292,6 +1292,7 @@ have lots of extensions, so the "full support" may not be 100% true…
+ eyebrowse
+ fancy-dabbrev
+ flycheck
++ flycheck-color-mode-line
+ flycheck-indicator
+ flycheck-posframe
+ flymake
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 1816077..4301bf8 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -159,6 +159,7 @@
;; eyebrowse
;; fancy-dabbrev
;; flycheck
+;; flycheck-color-mode-line
;; flycheck-indicator
;; flycheck-posframe
;; flymake
@@ -2389,6 +2390,11 @@ Also bind `class' to ((class color) (min-colors 89))."
((,(append '((supports :underline (:style wave))) class)
:underline (:color ,fg-lang-warning :style wave))
(,class :foreground ,fg-lang-warning :underline t)))
+;;;;; flycheck-color-mode-line
+ `(flycheck-color-mode-line-error-face ((,class :inherit flycheck-fringe-error)))
+ `(flycheck-color-mode-line-info-face ((,class :inherit flycheck-fringe-info)))
+ `(flycheck-color-mode-line-running-face ((,class :foreground ,fg-inactive :slant italic)))
+ `(flycheck-color-mode-line-info-face ((,class :inherit flycheck-fringe-warning)))
;;;;; flycheck-indicator
`(flycheck-indicator-disabled ((,class :foreground ,fg-inactive :slant ,modus-theme-slant)))
`(flycheck-indicator-error ((,class ,@(modus-operandi-theme-bold-weight) :foreground ,red-active)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index a588412..05b61a2 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -159,6 +159,7 @@
;; eyebrowse
;; fancy-dabbrev
;; flycheck
+;; flycheck-color-mode-line
;; flycheck-indicator
;; flycheck-posframe
;; flymake
@@ -2389,6 +2390,11 @@ Also bind `class' to ((class color) (min-colors 89))."
((,(append '((supports :underline (:style wave))) class)
:underline (:color ,fg-lang-warning :style wave))
(,class :foreground ,fg-lang-warning :underline t)))
+;;;;; flycheck-color-mode-line
+ `(flycheck-color-mode-line-error-face ((,class :inherit flycheck-fringe-error)))
+ `(flycheck-color-mode-line-info-face ((,class :inherit flycheck-fringe-info)))
+ `(flycheck-color-mode-line-running-face ((,class :foreground ,fg-inactive :slant italic)))
+ `(flycheck-color-mode-line-info-face ((,class :inherit flycheck-fringe-warning)))
;;;;; flycheck-indicator
`(flycheck-indicator-disabled ((,class :foreground ,fg-inactive :slant ,modus-theme-slant)))
`(flycheck-indicator-error ((,class ,@(modus-vivendi-theme-bold-weight) :foreground ,red-active)))