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

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

[elpa] externals/ef-themes 23c7ec8afd 1/3: Convert all palette override


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 23c7ec8afd 1/3: Convert all palette override variables into user options
Date: Tue, 16 May 2023 12:58:05 -0400 (EDT)

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

    Convert all palette override variables into user options
---
 ef-autumn-theme.el             | 12 ++++++++++--
 ef-bio-theme.el                | 12 ++++++++++--
 ef-cherie-theme.el             | 12 ++++++++++--
 ef-cyprus-theme.el             | 12 ++++++++++--
 ef-dark-theme.el               | 12 ++++++++++--
 ef-day-theme.el                | 12 ++++++++++--
 ef-deuteranopia-dark-theme.el  | 12 ++++++++++--
 ef-deuteranopia-light-theme.el | 12 ++++++++++--
 ef-duo-dark-theme.el           | 12 ++++++++++--
 ef-duo-light-theme.el          | 12 ++++++++++--
 ef-frost-theme.el              | 12 ++++++++++--
 ef-kassio-theme.el             | 12 ++++++++++--
 ef-light-theme.el              | 12 ++++++++++--
 ef-night-theme.el              | 12 ++++++++++--
 ef-spring-theme.el             | 12 ++++++++++--
 ef-summer-theme.el             | 12 ++++++++++--
 ef-symbiosis-theme.el          | 12 ++++++++++--
 ef-themes.el                   | 13 ++++++++++---
 ef-trio-dark-theme.el          | 12 ++++++++++--
 ef-trio-light-theme.el         | 12 ++++++++++--
 ef-tritanopia-dark-theme.el    | 12 ++++++++++--
 ef-tritanopia-light-theme.el   | 12 ++++++++++--
 ef-winter-theme.el             | 12 ++++++++++--
 23 files changed, 230 insertions(+), 47 deletions(-)

diff --git a/ef-autumn-theme.el b/ef-autumn-theme.el
index 33a567db43..ad0a69bd82 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)
 
diff --git a/ef-bio-theme.el b/ef-bio-theme.el
index b121610e74..d369f27b3c 100644
--- a/ef-bio-theme.el
+++ b/ef-bio-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-bio-palette-overrides nil
+  (defcustom ef-bio-palette-overrides nil
     "Overrides for `ef-bio-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-bio ef-bio-palette ef-bio-palette-overrides)
 
diff --git a/ef-cherie-theme.el b/ef-cherie-theme.el
index 8a3f4609f1..02c3019deb 100644
--- a/ef-cherie-theme.el
+++ b/ef-cherie-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-cherie-palette-overrides nil
+  (defcustom ef-cherie-palette-overrides nil
     "Overrides for `ef-cherie-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-cherie ef-cherie-palette ef-cherie-palette-overrides)
 
diff --git a/ef-cyprus-theme.el b/ef-cyprus-theme.el
index d264b4b990..7c802e787a 100644
--- a/ef-cyprus-theme.el
+++ b/ef-cyprus-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-cyprus-palette-overrides nil
+  (defcustom ef-cyprus-palette-overrides nil
     "Overrides for `ef-cyprus-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-cyprus ef-cyprus-palette ef-cyprus-palette-overrides)
 
diff --git a/ef-dark-theme.el b/ef-dark-theme.el
index 16e4f50e7d..960aac8366 100644
--- a/ef-dark-theme.el
+++ b/ef-dark-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-dark-palette-overrides nil
+  (defcustom ef-dark-palette-overrides nil
     "Overrides for `ef-dark-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-dark ef-dark-palette ef-dark-palette-overrides)
 
diff --git a/ef-day-theme.el b/ef-day-theme.el
index 79b6f9af61..66ceddc817 100644
--- a/ef-day-theme.el
+++ b/ef-day-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-day-palette-overrides nil
+  (defcustom ef-day-palette-overrides nil
     "Overrides for `ef-day-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-day ef-day-palette ef-day-palette-overrides)
 
diff --git a/ef-deuteranopia-dark-theme.el b/ef-deuteranopia-dark-theme.el
index c4ffbf67d7..d8ca28a868 100644
--- a/ef-deuteranopia-dark-theme.el
+++ b/ef-deuteranopia-dark-theme.el
@@ -253,14 +253,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-deuteranopia-dark-palette-overrides nil
+  (defcustom ef-deuteranopia-dark-palette-overrides nil
     "Overrides for `ef-deuteranopia-dark-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-deuteranopia-dark ef-deuteranopia-dark-palette 
ef-deuteranopia-dark-palette-overrides)
 
diff --git a/ef-deuteranopia-light-theme.el b/ef-deuteranopia-light-theme.el
index 68d614d68d..c3660be3e0 100644
--- a/ef-deuteranopia-light-theme.el
+++ b/ef-deuteranopia-light-theme.el
@@ -253,14 +253,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-deuteranopia-light-palette-overrides nil
+  (defcustom ef-deuteranopia-light-palette-overrides nil
     "Overrides for `ef-deuteranopia-light-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-deuteranopia-light ef-deuteranopia-light-palette 
ef-deuteranopia-light-palette-overrides)
 
diff --git a/ef-duo-dark-theme.el b/ef-duo-dark-theme.el
index 85c7bc4ed8..00e2e94550 100644
--- a/ef-duo-dark-theme.el
+++ b/ef-duo-dark-theme.el
@@ -253,14 +253,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-duo-dark-palette-overrides nil
+  (defcustom ef-duo-dark-palette-overrides nil
     "Overrides for `ef-duo-dark-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-duo-dark ef-duo-dark-palette 
ef-duo-dark-palette-overrides)
 
diff --git a/ef-duo-light-theme.el b/ef-duo-light-theme.el
index 5cdb56c6a1..adb2b26db4 100644
--- a/ef-duo-light-theme.el
+++ b/ef-duo-light-theme.el
@@ -253,14 +253,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-duo-light-palette-overrides nil
+  (defcustom ef-duo-light-palette-overrides nil
     "Overrides for `ef-duo-light-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-duo-light ef-duo-light-palette 
ef-duo-light-palette-overrides)
 
diff --git a/ef-frost-theme.el b/ef-frost-theme.el
index d9c90c31c3..3409ac4bd1 100644
--- a/ef-frost-theme.el
+++ b/ef-frost-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-frost-palette-overrides nil
+  (defcustom ef-frost-palette-overrides nil
     "Overrides for `ef-frost-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-frost ef-frost-palette ef-frost-palette-overrides)
 
diff --git a/ef-kassio-theme.el b/ef-kassio-theme.el
index 97354cce03..fc2d61b3fe 100644
--- a/ef-kassio-theme.el
+++ b/ef-kassio-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-kassio-palette-overrides nil
+  (defcustom ef-kassio-palette-overrides nil
     "Overrides for `ef-kassio-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-kassio ef-kassio-palette ef-kassio-palette-overrides)
 
diff --git a/ef-light-theme.el b/ef-light-theme.el
index b968ccce9d..69bffcff90 100644
--- a/ef-light-theme.el
+++ b/ef-light-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-light-palette-overrides nil
+  (defcustom ef-light-palette-overrides nil
     "Overrides for `ef-light-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-light ef-light-palette ef-light-palette-overrides)
 
diff --git a/ef-night-theme.el b/ef-night-theme.el
index 59c7a9dc96..30f5c9ed81 100644
--- a/ef-night-theme.el
+++ b/ef-night-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-night-palette-overrides nil
+  (defcustom ef-night-palette-overrides nil
     "Overrides for `ef-night-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-night ef-night-palette ef-night-palette-overrides)
 
diff --git a/ef-spring-theme.el b/ef-spring-theme.el
index ada3641e39..4c9cf9a475 100644
--- a/ef-spring-theme.el
+++ b/ef-spring-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-spring-palette-overrides nil
+  (defcustom ef-spring-palette-overrides nil
     "Overrides for `ef-spring-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-spring ef-spring-palette ef-spring-palette-overrides)
 
diff --git a/ef-summer-theme.el b/ef-summer-theme.el
index 447fa3164c..d30fb72ce4 100644
--- a/ef-summer-theme.el
+++ b/ef-summer-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-summer-palette-overrides nil
+  (defcustom ef-summer-palette-overrides nil
     "Overrides for `ef-summer-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-summer ef-summer-palette ef-summer-palette-overrides)
 
diff --git a/ef-symbiosis-theme.el b/ef-symbiosis-theme.el
index 9ea4061446..c0dc840d7a 100644
--- a/ef-symbiosis-theme.el
+++ b/ef-symbiosis-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-symbiosis-palette-overrides nil
+  (defcustom ef-symbiosis-palette-overrides nil
     "Overrides for `ef-symbiosis-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-symbiosis ef-symbiosis-palette 
ef-symbiosis-palette-overrides)
 
diff --git a/ef-themes.el b/ef-themes.el
index cd7d18efca..68f36e9dff 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -322,8 +322,7 @@ Other examples:
               (const :tag "More intense background (also override text color)" 
accented))
   :link '(info-link "(ef-themes) Style of region highlight"))
 
-;; TODO 2022-12-30: Make the palette overrides a `defcustom'
-(defvar ef-themes-common-palette-overrides nil
+(defcustom ef-themes-common-palette-overrides nil
   "Set palette overrides for all the Ef themes.
 
 Mirror the elements of a theme's palette, overriding their value.
@@ -332,7 +331,15 @@ individual theme overrides are 
THEME-NAME-palette-overrides.  The
 THEME-NAME is one of the symbols in `ef-themes-collection'.
 
 Individual theme overrides take precedence over these common
-overrides.")
+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"))
 
 ;;; Helpers for user options
 
diff --git a/ef-trio-dark-theme.el b/ef-trio-dark-theme.el
index ef22976f71..cde2745247 100644
--- a/ef-trio-dark-theme.el
+++ b/ef-trio-dark-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-trio-dark-palette-overrides nil
+  (defcustom ef-trio-dark-palette-overrides nil
     "Overrides for `ef-trio-dark-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-trio-dark ef-trio-dark-palette 
ef-trio-dark-palette-overrides)
 
diff --git a/ef-trio-light-theme.el b/ef-trio-light-theme.el
index d7eb5bd43f..c0a6596eab 100644
--- a/ef-trio-light-theme.el
+++ b/ef-trio-light-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-trio-light-palette-overrides nil
+  (defcustom ef-trio-light-palette-overrides nil
     "Overrides for `ef-trio-light-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-trio-light ef-trio-light-palette 
ef-trio-light-palette-overrides)
 
diff --git a/ef-tritanopia-dark-theme.el b/ef-tritanopia-dark-theme.el
index cd41ab2db7..19dc55949b 100644
--- a/ef-tritanopia-dark-theme.el
+++ b/ef-tritanopia-dark-theme.el
@@ -253,14 +253,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-tritanopia-dark-palette-overrides nil
+  (defcustom ef-tritanopia-dark-palette-overrides nil
     "Overrides for `ef-tritanopia-dark-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-tritanopia-dark ef-tritanopia-dark-palette 
ef-tritanopia-dark-palette-overrides)
 
diff --git a/ef-tritanopia-light-theme.el b/ef-tritanopia-light-theme.el
index 3022c3ef21..fa6e21bc25 100644
--- a/ef-tritanopia-light-theme.el
+++ b/ef-tritanopia-light-theme.el
@@ -253,14 +253,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-tritanopia-light-palette-overrides nil
+  (defcustom ef-tritanopia-light-palette-overrides nil
     "Overrides for `ef-tritanopia-light-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-tritanopia-light ef-tritanopia-light-palette 
ef-tritanopia-light-palette-overrides)
 
diff --git a/ef-winter-theme.el b/ef-winter-theme.el
index ec36bbde75..f3a8e12764 100644
--- a/ef-winter-theme.el
+++ b/ef-winter-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-winter-palette-overrides nil
+  (defcustom ef-winter-palette-overrides nil
     "Overrides for `ef-winter-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-winter ef-winter-palette ef-winter-palette-overrides)
 



reply via email to

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