emacs-elpa-diffs
[Top][All Lists]
Advanced

[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'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]