[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme adeee9f 25/99: Major review of "nu
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme adeee9f 25/99: Major review of "nuanced" colours (internal) |
Date: |
Fri, 31 Jul 2020 09:25:19 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit adeee9f73793271b7519236b9dbb0c624ff684df
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Major review of "nuanced" colours (internal)
The complete report is available on my website:
https://protesilaos.com/codelog/2020-07-08-modus-themes-nuanced-colours/
Quote from the link:
The short version of this report is that the "nuanced" backgrounds
have undergone a thoroughgoing review. Now they are more consistent
and better suited to their intended role, which is to provide a
subtle coloured backdrop on which all existing foreground values can
be used without prejudice to the overarching accessibility objective
of the themes (namely, a contrast ratio that is >= 7:1, which
corresponds to the highest standard of its kind: WCAG AAA).
This has implications for how the "section headings" option will style
the headings in Org buffers. Some other faces are also affected, but
these may be less obvious on first sight.
This review opens up the possibility to properly address issue 34:
https://gitlab.com/protesilaos/modus-themes/-/issues/34
---
modus-operandi-theme.el | 17 +++++++++--------
modus-vivendi-theme.el | 17 +++++++++--------
2 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 43b0665..7d8b7b0 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -647,18 +647,19 @@ AMOUNT is a customisation option."
("red-alt-other-faint" . "#7f002f") ("green-alt-other-faint" . "#0f443f")
("yellow-alt-other-faint" . "#5e3a20") ("blue-alt-other-faint" .
"#1f2f6f")
("magenta-alt-other-faint" . "#5f3f7f") ("cyan-alt-other-faint" .
"#2e584f")
- ;; styles for elements that should be very subtle
+ ;; styles for elements that should be very subtle, yet accented
;;
- ;; must be combined with: `bg-main', `bg-alt', `bg-dim'
- ("red-nuanced" . "#4d0006") ("green-nuanced" . "#003000")
- ("yellow-nuanced" . "#3a2a00") ("blue-nuanced" . "#001170")
- ("magenta-nuanced" . "#381050") ("cyan-nuanced" . "#003434")
+ ;; must be combined with: `bg-main', `bg-alt', `bg-dim' or any of
+ ;; the "nuanced" backgrounds
+ ("red-nuanced" . "#5f0000") ("green-nuanced" . "#004000")
+ ("yellow-nuanced" . "#3f3000") ("blue-nuanced" . "#201f55")
+ ("magenta-nuanced" . "#541f4f") ("cyan-nuanced" . "#0f3360")
;; styles for slightly accented background
;;
;; must be combined with any of the above foreground values
- ("red-nuanced-bg" . "#fef2f2") ("green-nuanced-bg" . "#f4faf4")
- ("yellow-nuanced-bg" . "#fcf6f1") ("blue-nuanced-bg" . "#f4f4ff")
- ("magenta-nuanced-bg" . "#fff4fc") ("cyan-nuanced-bg" . "#f0f6fa")
+ ("red-nuanced-bg" . "#ffecec") ("green-nuanced-bg" . "#dff8d0")
+ ("yellow-nuanced-bg" . "#ffefcf") ("blue-nuanced-bg" . "#efefff")
+ ("magenta-nuanced-bg" . "#ffeaff") ("cyan-nuanced-bg" . "#e7f2f9")
;; styles for elements that should draw attention to themselves
;;
;; must be combined with: `bg-main'
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index da008ac..e709de9 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -647,18 +647,19 @@ AMOUNT is a customisation option."
("red-alt-other-faint" . "#ff9fbf") ("green-alt-other-faint" . "#88cfaf")
("yellow-alt-other-faint" . "#d0ba95") ("blue-alt-other-faint" .
"#8fc5ff")
("magenta-alt-other-faint" . "#d0b4ff") ("cyan-alt-other-faint" .
"#a4d0bb")
- ;; styles for elements that should be very subtle
+ ;; styles for elements that should be very subtle, yet accented
;;
- ;; must be combined with: `bg-main', `bg-alt', `bg-dim'
- ("red-nuanced" . "#ffcccc") ("green-nuanced" . "#b0f0b0")
- ("yellow-nuanced" . "#e0e0bb") ("blue-nuanced" . "#ccccff")
- ("magenta-nuanced" . "#eeccee") ("cyan-nuanced" . "#aaeeee")
+ ;; must be combined with: `bg-main', `bg-alt', `bg-dim' or any of
+ ;; the "nuanced" backgrounds
+ ("red-nuanced" . "#ffcccc") ("green-nuanced" . "#b8e2b8")
+ ("yellow-nuanced" . "#dfdfb0") ("blue-nuanced" . "#bfd9ff")
+ ("magenta-nuanced" . "#e5cfef") ("cyan-nuanced" . "#a8e5e5")
;; styles for slightly accented background
;;
;; must be combined with any of the above foreground values
- ("red-nuanced-bg" . "#180505") ("green-nuanced-bg" . "#061206")
- ("yellow-nuanced-bg" . "#18140a") ("blue-nuanced-bg" . "#070722")
- ("magenta-nuanced-bg" . "#160616") ("cyan-nuanced-bg" . "#091620")
+ ("red-nuanced-bg" . "#3f0000") ("green-nuanced-bg" . "#002000")
+ ("yellow-nuanced-bg" . "#321000") ("blue-nuanced-bg" . "#001055")
+ ("magenta-nuanced-bg" . "#32003f") ("cyan-nuanced-bg" . "#001a3a")
;; styles for elements that should draw attention to themselves
;;
;; must be combined with: `bg-main'
- [elpa] externals/modus-operandi-theme 3c38b04 26/99: Two minor documentation refinements, (continued)
- [elpa] externals/modus-operandi-theme 3c38b04 26/99: Two minor documentation refinements, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 1ce0e98 35/99: Review TRANSIENT faces (magit pop-up), Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme d0c8af9 12/99: Review 'org-priority' styles for user options, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme b633b6d 20/99: Refine 'diff-hl-reverted-hunk-highlight', Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme bf41544 18/99: Add tentative support for 'highlight-tail', Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme ae783cd 30/99: Add aliases for 'org-src-block-faces' languages, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme bbcc399 31/99: Add support for clojure in 'org-src-block-faces', Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme e039129 38/99: Refine Org agenda modeline filter faces, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 27e94b2 16/99: Use optional bold weight in font-lock-warning-face, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme c543a76 22/99: Consistent org-checkbox-statistics-todo, org-todo, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme adeee9f 25/99: Major review of "nuanced" colours (internal),
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 2766a1d 27/99: New custom option: "ORG SRC RAINBOW BLOCKS", Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 7c27fb4 33/99: Review and expand 'org-src-block-faces', Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 79ab685 39/99: Refine two Org agenda faces, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme c6fcf51 41/99: Review Org scheduled faces, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 3521fae 42/99: Simplify conditional use of Org block background, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme f382ac1 44/99: Tweak 'org-quote' face, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme a6cd22b 50/99: Refine org-scheduled face (amend commit c6fcf5122), Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 32f3d6f 52/99: Add support for ESHELL-GIT-PROMPT, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 5435753 14/99: Refine 'org-todo' for "rainbow headings" option, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme b584076 15/99: Review colour for 'font-lock-preprocessor-face', Stefan Monnier, 2020/07/31