aboutsummaryrefslogtreecommitdiff
path: root/ef-eagle-theme.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2025-11-26 18:51:08 +0200
committerProtesilaos Stavrou <info@protesilaos.com>2025-11-26 18:51:08 +0200
commit70c81a957445beedcd88e4df929551ac77f1d0c5 (patch)
treee773784f9f19fe4e85f848357dbc29cb87dfa28a /ef-eagle-theme.el
parent1132285e3d1f648846ecef7a8eddd853002c4c98 (diff)
Use modus-themes-generate-palette in all themes
I did the changes with keyboard macros as usual. I now notice that some themes have 26 changes while others have 28. This should probably be due to some older inconsequential irregularities. I loaded each theme right now and they all seem okay, so I will let this pass. If anybody reports a bug, I am always happy to fix it. At any rate, the main point for this change is to (i) ensure that we get a complete palette while (ii) that we register the theme's palette as a "core palette" because these are the correct semantics (e.g. that ef-light ultimately may have inherited something from modus-operandi is not relevant to the question "what is your core theme?").
Diffstat (limited to 'ef-eagle-theme.el')
-rw-r--r--ef-eagle-theme.el26
1 files changed, 15 insertions, 11 deletions
diff --git a/ef-eagle-theme.el b/ef-eagle-theme.el
index d2458a7..5985173 100644
--- a/ef-eagle-theme.el
+++ b/ef-eagle-theme.el
@@ -108,17 +108,18 @@
(bg-hover-secondary "#c5d8a2")
(bg-hl-line "#ecdfba")
(bg-paren-match "#9fd0cc")
- (bg-region "#ddc5af")
(bg-err "#f2d4b5") ; check with err
(bg-warning "#e7de80") ; check with warning
(bg-info "#cdeeb0") ; check with info
+ (bg-region "#ddc5af")))
- (err red-warmer)
+(defconst ef-eagle-palette-mappings-partial
+ '((err red-warmer)
(warning yellow-warmer)
(info green)
(fg-link yellow-cooler)
- (fg-link-alt cyan-faint)
+ (fg-link-visited cyan-faint)
(name green)
(keybind red-warmer)
(identifier cyan-faint)
@@ -136,7 +137,7 @@
(type green)
(variable cyan)
(variable-use cyan-faint)
- (rx-escape magenta-warmer) ; compare with `string'
+ (rx-backslash magenta-warmer) ; compare with `string'
(rx-construct blue-cooler)
(accent-0 red)
@@ -156,16 +157,16 @@
(date-weekday red)
(date-weekend cyan)
- (prose-code green-cooler)
+ (fg-prose-code green-cooler)
(prose-done green-warmer)
- (prose-macro blue)
+ (fg-prose-macro blue)
(prose-metadata fg-dim)
(prose-metadata-value fg-alt)
(prose-table fg-alt)
(prose-table-formula warning)
(prose-tag yellow-faint)
(prose-todo red-warmer)
- (prose-verbatim red-cooler)
+ (fg-prose-verbatim red-cooler)
(mail-cite-0 red)
(mail-cite-1 yellow)
@@ -196,8 +197,7 @@
(rainbow-5 red-cooler)
(rainbow-6 blue-faint)
(rainbow-7 yellow-warmer)
- (rainbow-8 green))
- "Legible light beige theme with brown, red, and desatured colors.")
+ (rainbow-8 green)))
(defcustom ef-eagle-palette-overrides nil
"Overrides for `ef-eagle-palette'.
@@ -217,15 +217,19 @@ further details)."
:link '(info-link "(ef-themes) Palette overrides"))
(defconst ef-eagle-palette
- (append ef-themes-common-palette-overrides ef-eagle-palette-partial ef-themes-palette-common))
+ (modus-themes-generate-palette
+ ef-eagle-palette-partial
+ nil
+ nil
+ (append ef-eagle-palette-mappings-partial ef-themes-palette-common)))
(modus-themes-theme
'ef-eagle
'ef-themes
"Legible light beige theme with brown, red, and desatured colors."
'light
- 'modus-operandi-palette
'ef-eagle-palette
+ nil
'ef-eagle-palette-overrides
'ef-themes-custom-faces)