aboutsummaryrefslogtreecommitdiff
path: root/ef-autumn-theme.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2023-05-16 18:40:39 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2023-05-16 18:40:39 +0300
commit23c7ec8afd3f1880fa7290819212d777ce0030bb (patch)
treea764227220b8d800de7867848643b21bbf35ca17 /ef-autumn-theme.el
parent443d37bbee0ca819e87b1d72fc1a57d0eb850dd8 (diff)
Convert all palette override variables into user options
Diffstat (limited to 'ef-autumn-theme.el')
-rw-r--r--ef-autumn-theme.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/ef-autumn-theme.el b/ef-autumn-theme.el
index 33a567d..ad0a69b 100644
--- a/ef-autumn-theme.el
+++ b/ef-autumn-theme.el
@@ -250,14 +250,22 @@ Semantic color mappings have the form (MAPPING-NAME COLOR-NAME)
with both as symbols. The latter is a color that already exists
in the palette and is associated with a HEX-VALUE.")
- (defvar ef-autumn-palette-overrides nil
+ (defcustom ef-autumn-palette-overrides nil
"Overrides for `ef-autumn-palette'.
Mirror the elements of the aforementioned palette, overriding
their value.
For overrides that are shared across all of the Ef themes,
-refer to `ef-themes-common-palette-overrides'.")
+refer to `ef-themes-common-palette-overrides'.
+
+To preview the palette entries, use `ef-themes-preview-colors' or
+`ef-themes-preview-colors-current' (read the documentation for
+further details)."
+ :group 'ef-themes
+ :package-version '(ef-themes . "1.0.0")
+ :type '(repeat (list symbol (choice symbol string)))
+ :link '(info-link "(ef-themes) Palette overrides"))
(ef-themes-theme ef-autumn ef-autumn-palette ef-autumn-palette-overrides)