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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ef-themes 26dacb1021 1/4: BREAKING: rename graph colour


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 26dacb1021 1/4: BREAKING: rename graph colour mappings for consistency
Date: Wed, 3 May 2023 01:57:42 -0400 (EDT)

branch: externals/ef-themes
commit 26dacb10219a6a5c089529692148151715b02df2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    BREAKING: rename graph colour mappings for consistency
    
    We want all entries in the palette to follow the same naming scheme.
    Backgrounds such as those graph colours must have a "bg-" prefix.
---
 ef-themes.el | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/ef-themes.el b/ef-themes.el
index b91cf3c530..d604998e2a 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1853,14 +1853,14 @@ Optional prefix argument MAPPINGS has the same meaning 
as for
     `(org-verse ((,c :inherit org-block)))
     `(org-warning ((,c :inherit warning)))
 ;;;; org-habit
-    `(org-habit-alert-face ((,c :background ,yellow-graph-0-bg :foreground 
"black"))) ; special case
-    `(org-habit-alert-future-face ((,c :background ,yellow-graph-1-bg)))
-    `(org-habit-clear-face ((,c :background ,blue-graph-0-bg :foreground 
"black"))) ; special case
-    `(org-habit-clear-future-face ((,c :background ,blue-graph-1-bg)))
-    `(org-habit-overdue-face ((,c :background ,red-graph-0-bg)))
-    `(org-habit-overdue-future-face ((,c :background ,red-graph-1-bg)))
-    `(org-habit-ready-face ((,c :background ,green-graph-0-bg :foreground 
"black"))) ; special case
-    `(org-habit-ready-future-face ((,c :background ,green-graph-1-bg)))
+    `(org-habit-alert-face ((,c :background ,bg-graph-yellow-0 :foreground 
"black"))) ; special case
+    `(org-habit-alert-future-face ((,c :background ,bg-graph-yellow-1)))
+    `(org-habit-clear-face ((,c :background ,bg-graph-blue-0 :foreground 
"black"))) ; special case
+    `(org-habit-clear-future-face ((,c :background ,bg-graph-blue-1)))
+    `(org-habit-overdue-face ((,c :background ,bg-graph-red-0)))
+    `(org-habit-overdue-future-face ((,c :background ,bg-graph-red-1)))
+    `(org-habit-ready-face ((,c :background ,bg-graph-green-0 :foreground 
"black"))) ; special case
+    `(org-habit-ready-future-face ((,c :background ,bg-graph-green-1)))
 ;;;; org-modern
     `(org-modern-date-active ((,c :inherit (ef-themes-fixed-pitch 
org-modern-label) :background ,bg-alt)))
     `(org-modern-date-inactive ((,c :inherit (ef-themes-fixed-pitch 
org-modern-label) :background ,bg-dim :foreground ,fg-dim)))
@@ -2159,8 +2159,8 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
   '(
 ;;;; chart
     `(chart-face-color-list
-      '( ,red-graph-0-bg ,green-graph-0-bg ,yellow-graph-0-bg ,blue-graph-0-bg 
,magenta-graph-0-bg ,cyan-graph-0-bg
-         ,red-graph-1-bg ,green-graph-1-bg ,yellow-graph-1-bg ,blue-graph-1-bg 
,magenta-graph-1-bg ,cyan-graph-1-bg))
+      '( ,bg-graph-red-0 ,bg-graph-green-0 ,bg-graph-yellow-0 ,bg-graph-blue-0 
,bg-graph-magenta-0 ,bg-graph-cyan-0
+         ,bg-graph-red-1 ,bg-graph-green-1 ,bg-graph-yellow-1 ,bg-graph-blue-1 
,bg-graph-magenta-1 ,bg-graph-cyan-1))
 ;;;; flymake fringe indicators
     `(flymake-error-bitmap '(flymake-double-exclamation-mark 
ef-themes-mark-delete))
     `(flymake-warning-bitmap '(exclamation-mark ef-themes-mark-other))



reply via email to

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