[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme e57ca4f 075/112: Use more appropri
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme e57ca4f 075/112: Use more appropriate colours for fringe indicators |
Date: |
Mon, 30 Mar 2020 15:59:42 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit e57ca4ffc0e758f48ba6ee0d0ebd86f65cff0752
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>
Use more appropriate colours for fringe indicators
This is to ensure a consistent >= 7:1 contrast ratio (WCAG AAA) when the
user enables the new option for making the fringe background distinct
from the buffer.
That option is off by default. It was added in commit 80fb704:
https://gitlab.com/protesilaos/modus-themes/-/commit/80fb704f83291acb23d646aa3e2463d78e5e3c93
---
modus-operandi-theme.el | 38 +++++++++++++++++++-------------------
modus-vivendi-theme.el | 38 +++++++++++++++++++-------------------
2 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 7f221ed..0de033d 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -788,7 +788,7 @@ between foreground and background is >= 7:1)."
`(cider-enlightened-local-face ((,class (:foreground ,yellow-alt-other
:weight bold))))
`(cider-error-highlight-face ((,class (:foreground ,red :underline t))))
`(cider-fragile-button-face ((,class (:box (:line-width 3 :color ,fg-alt
:style released-button)) :foreground ,yellow)))
- `(cider-fringe-good-face ((,class (:foreground ,green-intense))))
+ `(cider-fringe-good-face ((,class (:foreground ,green-active))))
`(cider-instrumented-face ((,class (:box (:line-width -1 :color ,red :style
nil) :background ,bg-dim))))
`(cider-reader-conditional-face ((,class (:foreground ,fg-special-warm
:slant italic))))
`(cider-repl-input-face ((,class (:weight bold))))
@@ -908,7 +908,7 @@ between foreground and background is >= 7:1)."
:background ,bg-active :foreground
,fg-main))))
`(dap-result-overlay-face ((,class (:box (:line-width -1 :color ,bg-active
:style nil)
:background ,bg-active :foreground
,fg-main))))
- `(dap-ui-breakpoint-verified-fringe ((,class (:foreground ,green-intense
:weight bold))))
+ `(dap-ui-breakpoint-verified-fringe ((,class (:foreground ,green-active
:weight bold))))
`(dap-ui-compile-errline ((,class (:foreground ,red-intense :weight bold))))
`(dap-ui-locals-scope-face ((,class (:foreground ,magenta :weight bold
:underline t))))
`(dap-ui-locals-variable-face ((,class (:foreground ,cyan :weight bold))))
@@ -1230,9 +1230,9 @@ between foreground and background is >= 7:1)."
`(flycheck-error-list-info ((,class (:foreground ,green))))
`(flycheck-error-list-line-number ((,class (:foreground ,fg-special-warm))))
`(flycheck-error-list-warning ((,class (:foreground ,yellow))))
- `(flycheck-fringe-error ((,class (:foreground ,red-intense :weight bold))))
- `(flycheck-fringe-info ((,class (:foreground ,green-intense :weight bold))))
- `(flycheck-fringe-warning ((,class (:foreground ,yellow-intense :weight
bold))))
+ `(flycheck-fringe-error ((,class (:foreground ,red-active :weight bold))))
+ `(flycheck-fringe-info ((,class (:foreground ,green-active :weight bold))))
+ `(flycheck-fringe-warning ((,class (:foreground ,yellow-active :weight
bold))))
`(flycheck-info ((,class (:foreground ,green :underline t))))
`(flycheck-verify-select-checker ((,class (:box (:line-width 1 :color nil
:style released-button)))))
`(flycheck-warning ((,class (:foreground ,yellow :underline t))))
@@ -1334,24 +1334,24 @@ between foreground and background is >= 7:1)."
`(git-commit-pseudo-header ((,class (:foreground ,fg-alt :weight bold))))
`(git-commit-summary ((,class (:foreground ,magenta-alt-other))))
;;;; git-gutter
- `(git-gutter:added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter:deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter:modified ((,class (:foreground ,yellow-intense :weight bold))))
- `(git-gutter:separator ((,class (:foreground ,cyan-intense :weight bold))))
+ `(git-gutter:added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter:deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter:modified ((,class (:foreground ,yellow-active :weight bold))))
+ `(git-gutter:separator ((,class (:foreground ,cyan-active :weight bold))))
`(git-gutter:unchanged ((,class (:inherit modus-theme-refine-magenta))))
;;;; git-gutter-fr
- `(git-gutter-fr:added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter-fr:deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter-fr:modified ((,class (:foreground ,yellow-intense :weight
bold))))
+ `(git-gutter-fr:added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter-fr:deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter-fr:modified ((,class (:foreground ,yellow-active :weight
bold))))
;;;; git-{gutter,fringe}+
- `(git-gutter+-added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter+-deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter+-modified ((,class (:foreground ,yellow-intense :weight
bold))))
- `(git-gutter+-separator ((,class (:foreground ,cyan-intense :weight bold))))
+ `(git-gutter+-added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter+-deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter+-modified ((,class (:foreground ,yellow-active :weight bold))))
+ `(git-gutter+-separator ((,class (:foreground ,cyan-active :weight bold))))
`(git-gutter+-unchanged ((,class (:inherit modus-theme-refine-magenta))))
- `(git-gutter-fr+-added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter-fr+-deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter-fr+-modified ((,class (:foreground ,yellow-intense :weight
bold))))
+ `(git-gutter-fr+-added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter-fr+-deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter-fr+-modified ((,class (:foreground ,yellow-active :weight
bold))))
;;;; git-lens
`(git-lens-added ((,class (:foreground ,green :weight bold))))
`(git-lens-deleted ((,class (:foreground ,red :weight bold))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index b1e3594..0e038e6 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -788,7 +788,7 @@ between foreground and background is >= 7:1)."
`(cider-enlightened-local-face ((,class (:foreground ,yellow-alt-other
:weight bold))))
`(cider-error-highlight-face ((,class (:foreground ,red :underline t))))
`(cider-fragile-button-face ((,class (:box (:line-width 3 :color ,fg-alt
:style released-button)) :foreground ,yellow)))
- `(cider-fringe-good-face ((,class (:foreground ,green-intense))))
+ `(cider-fringe-good-face ((,class (:foreground ,green-active))))
`(cider-instrumented-face ((,class (:box (:line-width -1 :color ,red :style
nil) :background ,bg-dim))))
`(cider-reader-conditional-face ((,class (:foreground ,fg-special-warm
:slant italic))))
`(cider-repl-input-face ((,class (:weight bold))))
@@ -908,7 +908,7 @@ between foreground and background is >= 7:1)."
:background ,bg-active :foreground
,fg-main))))
`(dap-result-overlay-face ((,class (:box (:line-width -1 :color ,bg-active
:style nil)
:background ,bg-active :foreground
,fg-main))))
- `(dap-ui-breakpoint-verified-fringe ((,class (:foreground ,green-intense
:weight bold))))
+ `(dap-ui-breakpoint-verified-fringe ((,class (:foreground ,green-active
:weight bold))))
`(dap-ui-compile-errline ((,class (:foreground ,red-intense :weight bold))))
`(dap-ui-locals-scope-face ((,class (:foreground ,magenta :weight bold
:underline t))))
`(dap-ui-locals-variable-face ((,class (:foreground ,cyan :weight bold))))
@@ -1230,9 +1230,9 @@ between foreground and background is >= 7:1)."
`(flycheck-error-list-info ((,class (:foreground ,green))))
`(flycheck-error-list-line-number ((,class (:foreground ,fg-special-warm))))
`(flycheck-error-list-warning ((,class (:foreground ,yellow))))
- `(flycheck-fringe-error ((,class (:foreground ,red-intense :weight bold))))
- `(flycheck-fringe-info ((,class (:foreground ,green-intense :weight bold))))
- `(flycheck-fringe-warning ((,class (:foreground ,yellow-intense :weight
bold))))
+ `(flycheck-fringe-error ((,class (:foreground ,red-active :weight bold))))
+ `(flycheck-fringe-info ((,class (:foreground ,green-active :weight bold))))
+ `(flycheck-fringe-warning ((,class (:foreground ,yellow-active :weight
bold))))
`(flycheck-info ((,class (:foreground ,green :underline t))))
`(flycheck-verify-select-checker ((,class (:box (:line-width 1 :color nil
:style released-button)))))
`(flycheck-warning ((,class (:foreground ,yellow :underline t))))
@@ -1334,24 +1334,24 @@ between foreground and background is >= 7:1)."
`(git-commit-pseudo-header ((,class (:foreground ,fg-alt :weight bold))))
`(git-commit-summary ((,class (:foreground ,magenta-alt-other))))
;;;; git-gutter
- `(git-gutter:added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter:deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter:modified ((,class (:foreground ,yellow-intense :weight bold))))
- `(git-gutter:separator ((,class (:foreground ,cyan-intense :weight bold))))
+ `(git-gutter:added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter:deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter:modified ((,class (:foreground ,yellow-active :weight bold))))
+ `(git-gutter:separator ((,class (:foreground ,cyan-active :weight bold))))
`(git-gutter:unchanged ((,class (:inherit modus-theme-refine-magenta))))
;;;; git-gutter-fr
- `(git-gutter-fr:added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter-fr:deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter-fr:modified ((,class (:foreground ,yellow-intense :weight
bold))))
+ `(git-gutter-fr:added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter-fr:deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter-fr:modified ((,class (:foreground ,yellow-active :weight
bold))))
;;;; git-{gutter,fringe}+
- `(git-gutter+-added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter+-deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter+-modified ((,class (:foreground ,yellow-intense :weight
bold))))
- `(git-gutter+-separator ((,class (:foreground ,cyan-intense :weight bold))))
+ `(git-gutter+-added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter+-deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter+-modified ((,class (:foreground ,yellow-active :weight bold))))
+ `(git-gutter+-separator ((,class (:foreground ,cyan-active :weight bold))))
`(git-gutter+-unchanged ((,class (:inherit modus-theme-refine-magenta))))
- `(git-gutter-fr+-added ((,class (:foreground ,green-intense :weight bold))))
- `(git-gutter-fr+-deleted ((,class (:foreground ,red-intense :weight bold))))
- `(git-gutter-fr+-modified ((,class (:foreground ,yellow-intense :weight
bold))))
+ `(git-gutter-fr+-added ((,class (:foreground ,green-active :weight bold))))
+ `(git-gutter-fr+-deleted ((,class (:foreground ,red-active :weight bold))))
+ `(git-gutter-fr+-modified ((,class (:foreground ,yellow-active :weight
bold))))
;;;; git-lens
`(git-lens-added ((,class (:foreground ,green :weight bold))))
`(git-lens-deleted ((,class (:foreground ,red :weight bold))))
- [elpa] externals/modus-operandi-theme 6bda04f 074/112: Add README section on FSF copyright assignment, (continued)
- [elpa] externals/modus-operandi-theme 6bda04f 074/112: Add README section on FSF copyright assignment, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 71372a8 078/112: Use new fringe colours for FLYCHECK indicators, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme b0c0fd1 082/112: Add support for SIDE-NOTES, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 5247356 083/112: Internal: fix indentation in `outline-mode' group, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 9dbe77a 063/112: Add tentative support for SALLET, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 0bb261d 076/112: Define new fringe colours and faces, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme b7f6955 081/112: Add support for FREEZE-IT, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme b590bf2 079/112: Use new fringe colours for GIT-GUTTER indicators, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme d614a32 105/112: Use right colours for `gnus-summary-cancelled', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme adb7110 109/112: Internal: minor documentation corrections, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme e57ca4f 075/112: Use more appropriate colours for fringe indicators,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme b1660a9 080/112: Refine DIFF-HL and use new fringe colours, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme ee7ea51 087/112: Remove bold weight from matching parentheses, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme c4e0434 091/112: Add support for ORG-TREESCOPE, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 3a6ebbc 093/112: Add support for CSV-MODE, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 7890009 100/112: Merge branch 'fix-modus-vivendi-theme' into 'master', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 7dd0b0e 084/112: Add support for new FOUNTAIN-MODE heading faces, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 413ea53 088/112: Remove bold weight from `smartparens`, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 65a0c89 086/112: Add customisation option for distinct Org blocks, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 7253615 094/112: Add support for DYNAMIC-RULER, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 2e88ffa 095/112: Add support for GIT-WALKTREE, Stefan Monnier, 2020/03/30