branch: externals/modus-themes
commit 30cbfe27b50133deda80ece33018f1118e34fbe3
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Consolidate some colours in the modus-themes-common-palette-mappings
---
 modus-themes.el | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/modus-themes.el b/modus-themes.el
index e3fafd3861..9e3b55fa8f 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -649,6 +649,8 @@ represents."
 
 (defconst modus-themes-common-palette-mappings
   '((fringe bg-dim)
+    (fg-region fg-main)
+    (fg-mode-line-active fg-main)
 
     ;; Button mappings
 
@@ -914,10 +916,8 @@ represents."
      (bg-hover-secondary  "#f5d0a0")
      (bg-hl-line          "#dae5ec")
      (bg-region           "#bdbdbd")
-     (fg-region           "#000000")
 
      (bg-mode-line-active        "#c8c8c8")
-     (fg-mode-line-active        "#000000")
      (border-mode-line-active    "#5a5a5a")
      (bg-mode-line-inactive      "#e6e6e6")
      (fg-mode-line-inactive      "#585858")
@@ -1244,10 +1244,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#dfe09f")
      (bg-hl-line          "#f1d5d0")
      (bg-region           "#c2bcb5")
-     (fg-region           "#000000")
 
      (bg-mode-line-active        "#cab9b2")
-     (fg-mode-line-active        "#000000")
      (border-mode-line-active    "#545454")
      (bg-mode-line-inactive      "#dfd9cf")
      (fg-mode-line-inactive      "#585858")
@@ -1572,10 +1570,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#e5d7a0")
      (bg-hl-line          "#dae5ec")
      (bg-region           "#bdbdbd")
-     (fg-region           "#000000")
 
      (bg-mode-line-active        "#d0d6ff")
-     (fg-mode-line-active        "#0f0f0f")
      (border-mode-line-active    "#4f4f74")
      (bg-mode-line-inactive      "#e6e6e6")
      (fg-mode-line-inactive      "#585858")
@@ -1902,10 +1898,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#abdfdd")
      (bg-hl-line          "#dfeaec")
      (bg-region           "#bdbdbd")
-     (fg-region           "#000000")
 
      (bg-mode-line-active        "#afe0f2")
-     (fg-mode-line-active        "#0f0f0f")
      (border-mode-line-active    "#2f4f44")
      (bg-mode-line-inactive      "#e6e6e6")
      (fg-mode-line-inactive      "#585858")
@@ -2230,10 +2224,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#654a39")
      (bg-hl-line          "#2f3849")
      (bg-region           "#5a5a5a")
-     (fg-region           "#ffffff")
 
      (bg-mode-line-active        "#505050")
-     (fg-mode-line-active        "#ffffff")
      (border-mode-line-active    "#959595")
      (bg-mode-line-inactive      "#2d2d2d")
      (fg-mode-line-inactive      "#969696")
@@ -2558,10 +2550,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#64404f")
      (bg-hl-line          "#303a6f")
      (bg-region           "#555a66")
-     (fg-region           "#ffffff")
 
      (bg-mode-line-active        "#484d67")
-     (fg-mode-line-active        "#ffffff")
      (border-mode-line-active    "#979797")
      (bg-mode-line-inactive      "#292d48")
      (fg-mode-line-inactive      "#969696")
@@ -2886,10 +2876,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#604c30")
      (bg-hl-line          "#2f3849")
      (bg-region           "#5a5a5a")
-     (fg-region           "#ffffff")
 
      (bg-mode-line-active        "#2a2a6a")
-     (fg-mode-line-active        "#f0f0f0")
      (border-mode-line-active    "#8080a7")
      (bg-mode-line-inactive      "#2d2d2d")
      (fg-mode-line-inactive      "#969696")
@@ -3214,10 +3202,8 @@ exists in the palette and is associated with a 
HEX-VALUE.")
      (bg-hover-secondary  "#204853")
      (bg-hl-line          "#2f3849")
      (bg-region           "#5a5a5a")
-     (fg-region           "#ffffff")
 
      (bg-mode-line-active        "#003c52")
-     (fg-mode-line-active        "#f0f0f0")
      (border-mode-line-active    "#5f8fb4")
      (bg-mode-line-inactive      "#2d2d2d")
      (fg-mode-line-inactive      "#969696")

Reply via email to