[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-vivendi-theme 409648d 049/110: Refine FLYMAKE: ne
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-vivendi-theme 409648d 049/110: Refine FLYMAKE: new linter colours, better fringes |
Date: |
Wed, 29 Apr 2020 21:40:05 -0400 (EDT) |
branch: externals/modus-vivendi-theme
commit 409648deee775bdb8c7c9d4fe40b2eaa2f62c85c
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>
Refine FLYMAKE: new linter colours, better fringes
Flymake does not define faces for its fringe indicators, offering
customisation options instead. The problem with those is that they
inherit from faces that are not necessarily optimised for the fringes
and for the specific purpose of calling the user's attention to some
problem in the code. As such, we set to customise those values at the
theme level, with the proviso that this should ideally be a standard set
of faces provided by Flymake.
For more on the new linter colours, see commit 53e1a43.
---
modus-operandi-theme.el | 10 +++++++---
modus-vivendi-theme.el | 10 +++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index cf00d9a..dc531f3 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1427,9 +1427,9 @@ AMOUNT is a customisation option."
`(flycheck-posframe-info-face ((,class (:foreground ,cyan :weight bold))))
`(flycheck-posframe-warning-face ((,class (:foreground ,yellow :weight
bold))))
;;;; flymake
- `(flymake-error ((,class (:foreground ,red :underline t))))
- `(flymake-note ((,class (:foreground ,green :underline t))))
- `(flymake-warning ((,class (:foreground ,yellow :underline t))))
+ `(flymake-error ((,class (:foreground ,red-nuanced :underline (:color
,fg-lang-error :style line)))))
+ `(flymake-note ((,class (:foreground ,blue-nuanced :underline (:color
,fg-lang-note :style line)))))
+ `(flymake-warning ((,class (:foreground ,yellow-nuanced :underline (:color
,fg-lang-warning :style line)))))
;;;; flyspell
`(flyspell-duplicate
((,(append '((supports :underline (:style wave))) class)
@@ -3001,6 +3001,10 @@ AMOUNT is a customisation option."
;;;; ansi-colors
`(ansi-color-faces-vector [default bold shadow italic underline success
warning error])
`(ansi-color-names-vector [,fg-main ,red ,green ,yellow ,blue ,magenta
,cyan ,bg-main])
+ ;;;; flymake fringe indicators
+ `(flymake-error-bitmap '(flymake-double-exclamation-mark
modus-theme-fringe-red))
+ `(flymake-warning-bitmap '(exclamation-mark modus-theme-fringe-yellow))
+ `(flymake-note-bitmap '(exclamation-mark modus-theme-fringe-cyan))
;;;; ibuffer
`(ibuffer-deletion-face 'dired-flagged)
`(ibuffer-filter-group-name-face 'dired-mark)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index c74286b..893bded 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1427,9 +1427,9 @@ AMOUNT is a customisation option."
`(flycheck-posframe-info-face ((,class (:foreground ,cyan :weight bold))))
`(flycheck-posframe-warning-face ((,class (:foreground ,yellow :weight
bold))))
;;;; flymake
- `(flymake-error ((,class (:foreground ,red :underline t))))
- `(flymake-note ((,class (:foreground ,green :underline t))))
- `(flymake-warning ((,class (:foreground ,yellow :underline t))))
+ `(flymake-error ((,class (:foreground ,red-nuanced :underline (:color
,fg-lang-error :style line)))))
+ `(flymake-note ((,class (:foreground ,blue-nuanced :underline (:color
,fg-lang-note :style line)))))
+ `(flymake-warning ((,class (:foreground ,yellow-nuanced :underline (:color
,fg-lang-warning :style line)))))
;;;; flyspell
`(flyspell-duplicate
((,(append '((supports :underline (:style wave))) class)
@@ -3001,6 +3001,10 @@ AMOUNT is a customisation option."
;;;; ansi-colors
`(ansi-color-faces-vector [default bold shadow italic underline success
warning error])
`(ansi-color-names-vector [,bg-main ,red ,green ,yellow ,blue ,magenta
,cyan ,fg-main])
+ ;;;; flymake fringe indicators
+ `(flymake-error-bitmap '(flymake-double-exclamation-mark
modus-theme-fringe-red))
+ `(flymake-warning-bitmap '(exclamation-mark modus-theme-fringe-yellow))
+ `(flymake-note-bitmap '(exclamation-mark modus-theme-fringe-cyan))
;;;; ibuffer
`(ibuffer-deletion-face 'dired-flagged)
`(ibuffer-filter-group-name-face 'dired-mark)
- [elpa] externals/modus-vivendi-theme 1086949 023/110: Add single missing parenthesis to the README, (continued)
- [elpa] externals/modus-vivendi-theme 1086949 023/110: Add single missing parenthesis to the README, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme afbe3ce 028/110: Add support for VISIBLE-MARK, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 6d288f9 038/110: Refine colours for C-q chars and regexp groupings, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme c419e9b 034/110: Add support for new ICOMPLETE-VERTICAL package, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme e6c7b7f 033/110: Document already-supported ICOMPLETE and FLX, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme d8d266d 043/110: Add missing newline char in end of file, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 72de79b 044/110: Use bold weight conditionally in more indicators, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme ded2d1f 035/110: Provide concise docs of customisation options, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme ca9a69d 040/110: Add support for AG, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 530787e 048/110: Refine FLYSPELL: use new dedicated lang colours, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 409648d 049/110: Refine FLYMAKE: new linter colours, better fringes,
Stefan Monnier <=
- [elpa] externals/modus-vivendi-theme f635f9b 050/110: Refine ARTBOLLOCKS-MODE: use new lang colours, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme a0e9380 055/110: Add tentative support for Emacs27 TAB-{BAR, LINE}, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme b298d30 067/110: Add note on package list refresh in the README, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 1cb0353 068/110: Simplify `outline-minor-faces', Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme f744335 069/110: Add support for ORDERLESS, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 75199a6 071/110: Minor formatting change in README, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme d3958bb 074/110: NEW CUSTOMISATION OPTION for "rainbow headings", Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme e7a5f9a 077/110: NEW CUSTOMISATION OPTION for "section headings", Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 4d7d769 020/110: Fix MAGIT regression on colours of unfocused diffs, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme d931e3c 022/110: Add docs on ORG colour-coded source blocks, Stefan Monnier, 2020/04/29