branch: externals/standard-themes
commit ce807c3b55e6c7146030a764e1a5841e22b8ac46
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Greatly expand the subset of coloured backgrounds
    
    These will be especially useful for palette overrides.
---
 standard-dark-theme.el  | 29 ++++++++++++++++++++++-------
 standard-light-theme.el | 29 ++++++++++++++++++++++-------
 standard-themes.el      | 36 ++++++++++++++++++------------------
 3 files changed, 62 insertions(+), 32 deletions(-)

diff --git a/standard-dark-theme.el b/standard-dark-theme.el
index fecec42ad9..d0c12b31ea 100644
--- a/standard-dark-theme.el
+++ b/standard-dark-theme.el
@@ -85,13 +85,28 @@
       (cyan-cooler     "#7fffd4")
       (cyan-faint      "#6acbcb")
 
-      ;; Basic hues for background values
-      (bg-red      "#cd2f30")
-      (bg-green    "#408420")
-      (bg-yellow   "#8f5040")
-      (bg-blue     "#4648d0")
-      (bg-magenta  "#a050cf")
-      (bg-cyan     "#2270be")
+;;; Common accent backgrounds
+
+      (bg-red-intense     "#9d1f1f")
+      (bg-green-intense   "#2f822f")
+      (bg-yellow-intense  "#7a6100")
+      (bg-blue-intense    "#1640b0")
+      (bg-magenta-intense "#7030af")
+      (bg-cyan-intense    "#2266ae")
+
+      (bg-red-subtle      "#620f2a")
+      (bg-green-subtle    "#00422a")
+      (bg-yellow-subtle   "#4a4000")
+      (bg-blue-subtle     "#242679")
+      (bg-magenta-subtle  "#552f5f")
+      (bg-cyan-subtle     "#004065")
+
+      (bg-red-nuanced     "#2c0614")
+      (bg-green-nuanced   "#001904")
+      (bg-yellow-nuanced  "#221000")
+      (bg-blue-nuanced    "#0f0e39")
+      (bg-magenta-nuanced "#230631")
+      (bg-cyan-nuanced    "#041529")
 
       ;; Diffs
       (bg-added          "#00331f")
diff --git a/standard-light-theme.el b/standard-light-theme.el
index 46cf1ebf15..a42dca6e27 100644
--- a/standard-light-theme.el
+++ b/standard-light-theme.el
@@ -85,13 +85,28 @@
       (cyan-cooler     "#008b8b")
       (cyan-faint      "#3f7a80")
 
-      ;; Basic hues for background values
-      (bg-red      "#ff8f88")
-      (bg-green    "#7ae070")
-      (bg-yellow   "#fac200")
-      (bg-blue     "#6bcfff")
-      (bg-magenta  "#cf9fff")
-      (bg-cyan     "#a8efff")
+;;; Common accent backgrounds
+
+      (bg-red-intense     "#ff8f88")
+      (bg-green-intense   "#8adf80")
+      (bg-yellow-intense  "#f3d000")
+      (bg-blue-intense    "#bfc9ff")
+      (bg-magenta-intense "#dfa0f0")
+      (bg-cyan-intense    "#a4d5f9")
+
+      (bg-red-subtle      "#ffcfbf")
+      (bg-green-subtle    "#b3fabf")
+      (bg-yellow-subtle   "#fff576")
+      (bg-blue-subtle     "#ccdfff")
+      (bg-magenta-subtle  "#ffddff")
+      (bg-cyan-subtle     "#bfefff")
+
+      (bg-red-nuanced     "#fff1f0")
+      (bg-green-nuanced   "#ecf7ed")
+      (bg-yellow-nuanced  "#fff3da")
+      (bg-blue-nuanced    "#f3f3ff")
+      (bg-magenta-nuanced "#fdf0ff")
+      (bg-cyan-nuanced    "#ebf6fa")
 
       ;; Diffs
       (bg-added          "#c0f8d0")
diff --git a/standard-themes.el b/standard-themes.el
index 805f24afd9..30b385a45d 100644
--- a/standard-themes.el
+++ b/standard-themes.el
@@ -727,9 +727,9 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(standard-themes-underline-error ((,c :underline (:style wave :color 
,underline-err))))
     `(standard-themes-underline-info ((,c :underline (:style wave :color 
,underline-info))))
     `(standard-themes-underline-warning ((,c :underline (:style wave :color 
,underline-warning))))
-    `(standard-themes-fringe-error ((,c :inherit bold :background ,bg-red 
:foreground ,fg-main)))
-    `(standard-themes-fringe-info ((,c :inherit bold :background ,bg-green 
:foreground ,fg-main)))
-    `(standard-themes-fringe-warning ((,c :inherit bold :background ,bg-yellow 
:foreground ,fg-main)))
+    `(standard-themes-fringe-error ((,c :inherit bold :background 
,bg-red-intense :foreground ,fg-main)))
+    `(standard-themes-fringe-info ((,c :inherit bold :background 
,bg-green-intense :foreground ,fg-main)))
+    `(standard-themes-fringe-warning ((,c :inherit bold :background 
,bg-yellow-intense :foreground ,fg-main)))
 ;;;; all basic faces
 ;;;;; absolute essentials
     `(appt-notification ((,c :inherit error)))
@@ -768,7 +768,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(shadow ((,c :foreground ,fg-dim)))
     `(success ((,c :inherit bold :foreground ,info)))
     `(tooltip ((,c :background ,bg-alt :foreground ,fg-main)))
-    `(trailing-whitespace ((,c :background ,bg-red :foreground ,fg-main)))
+    `(trailing-whitespace ((,c :background ,bg-red-intense :foreground 
,fg-main)))
     `(warning ((,c :inherit bold :foreground ,warning)))
 ;;;; all-the-icons
     `(all-the-icons-blue ((,c :foreground ,blue-cooler)))
@@ -914,7 +914,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(company-echo-common ((,c :inherit bold :foreground ,accent-0)))
     `(company-preview ((,c :background ,bg-dim :foreground ,fg-dim)))
     `(company-preview-common ((,c :inherit company-echo-common)))
-    `(company-preview-search ((,c :background ,bg-yellow :foreground 
,fg-main)))
+    `(company-preview-search ((,c :background ,bg-yellow-intense :foreground 
,fg-main)))
     `(company-scrollbar-bg ((,c :background ,bg-active)))
     `(company-scrollbar-fg ((,c :background ,fg-main)))
     `(company-template-field ((,c :background ,bg-active :foreground 
,fg-main)))
@@ -1311,13 +1311,13 @@ Optional prefix argument MAPPINGS has the same meaning 
as for
     `(info-title-3 ((,c :inherit standard-themes-heading-3)))
     `(info-title-4 ((,c :inherit standard-themes-heading-4)))
 ;;;; isearch, occur, and the like
-    `(isearch ((,c :background ,bg-magenta :foreground ,fg-main)))
-    `(isearch-fail ((,c :background ,bg-red :foreground ,fg-main)))
-    `(isearch-group-1 ((,c :background ,bg-green :foreground ,fg-main)))
-    `(isearch-group-2 ((,c :background ,bg-yellow :foreground ,fg-main)))
-    `(lazy-highlight ((,c :background ,bg-cyan :foreground ,fg-main)))
+    `(isearch ((,c :background ,bg-magenta-intense :foreground ,fg-main)))
+    `(isearch-fail ((,c :background ,bg-red-intense :foreground ,fg-main)))
+    `(isearch-group-1 ((,c :background ,bg-green-intense :foreground 
,fg-main)))
+    `(isearch-group-2 ((,c :background ,bg-yellow-intense :foreground 
,fg-main)))
+    `(lazy-highlight ((,c :background ,bg-cyan-intense :foreground ,fg-main)))
     `(match ((,c :background ,bg-warning)))
-    `(query-replace ((,c :background ,bg-red :foreground ,fg-main)))
+    `(query-replace ((,c :background ,bg-red-intense :foreground ,fg-main)))
 ;;;; jit-spell
     `(jit-spell-misspelling ((,c :inherit standard-themes-underline-error)))
 ;;;; keycast
@@ -1773,7 +1773,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(rainbow-delimiters-depth-7-face ((,c :foreground ,rainbow-6)))
     `(rainbow-delimiters-depth-8-face ((,c :foreground ,rainbow-7)))
     `(rainbow-delimiters-depth-9-face ((,c :foreground ,rainbow-8)))
-    `(rainbow-delimiters-mismatched-face ((,c :background ,bg-red :foreground 
,fg-main)))
+    `(rainbow-delimiters-mismatched-face ((,c :background ,bg-red-intense 
:foreground ,fg-main)))
     `(rainbow-delimiters-unmatched-face ((,c :inherit (bold 
rainbow-delimiters-mismatched-face))))
 ;;;; rcirc
     `(rcirc-bright-nick ((,c :inherit error)))
@@ -1793,10 +1793,10 @@ Optional prefix argument MAPPINGS has the same meaning 
as for
     `(recursion-indicator-general ((,c :foreground ,modeline-err)))
     `(recursion-indicator-minibuffer ((,c :foreground ,modeline-info)))
 ;;;; regexp-builder (re-builder)
-    `(reb-match-0 ((,c :background ,bg-green :foreground ,fg-main)))
-    `(reb-match-1 ((,c :background ,bg-red :foreground ,fg-main)))
-    `(reb-match-2 ((,c :background ,bg-magenta :foreground ,fg-main)))
-    `(reb-match-3 ((,c :background ,bg-blue :foreground ,fg-main)))
+    `(reb-match-0 ((,c :background ,bg-green-intense :foreground ,fg-main)))
+    `(reb-match-1 ((,c :background ,bg-red-intense :foreground ,fg-main)))
+    `(reb-match-2 ((,c :background ,bg-magenta-intense :foreground ,fg-main)))
+    `(reb-match-3 ((,c :background ,bg-blue-intense :foreground ,fg-main)))
     `(reb-regexp-grouping-backslash ((,c :inherit 
font-lock-regexp-grouping-backslash)))
     `(reb-regexp-grouping-construct ((,c :inherit 
font-lock-regexp-grouping-construct)))
 ;;;; ruler-mode
@@ -1813,7 +1813,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
 ;;;; show-paren-mode
     `(show-paren-match ((,c :background ,bg-paren :foreground ,fg-main)))
     `(show-paren-match-expression ((,c :background ,bg-alt)))
-    `(show-paren-mismatch ((,c :background ,bg-red :foreground ,fg-main)))
+    `(show-paren-mismatch ((,c :background ,bg-red-intense :foreground 
,fg-main)))
 ;;;; shell-script-mode (sh-mode)
     `(sh-heredoc ((,c :inherit font-lock-doc-face)))
     `(sh-quoted-exec ((,c :inherit font-lock-builtin-face)))
@@ -1950,7 +1950,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(whitespace-newline ((,c :inherit whitespace-indentation)))
     `(whitespace-space ((,c :inherit whitespace-indentation)))
     `(whitespace-space-after-tab ((,c :inherit whitespace-space-before-tab)))
-    `(whitespace-space-before-tab ((,c :background ,bg-red)))
+    `(whitespace-space-before-tab ((,c :background ,bg-red-intense)))
     `(whitespace-tab ((,c :inherit whitespace-indentation)))
     `(whitespace-trailing ((,c :inherit whitespace-space-before-tab)))
 ;;;; widget

Reply via email to