aboutsummaryrefslogtreecommitdiff
path: root/ef-themes.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2025-09-29 13:04:15 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2025-09-29 13:04:15 +0300
commita687ee8530f9a1be90604588708509d8a44dc1e0 (patch)
tree8ffaee2969e6597e046a1f86290b82b62b4d1c61 /ef-themes.el
parentd30830e7099bd1af64b77894a6ae55b454489a47 (diff)
Define compatibility aliases that point to Modus
Diffstat (limited to 'ef-themes.el')
-rw-r--r--ef-themes.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/ef-themes.el b/ef-themes.el
index 19291cf..76eb4fe 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -130,6 +130,28 @@
(fg-heading-8 rainbow-8))
"Common palette mappings for the Ef themes.")
+;;;; Compatibility with older versions of the Ef themes
+
+(defalias 'ef-themes-rotate 'modus-themes-rotate "2.0.0")
+(defalias 'ef-themes-toggle 'modus-themes-toggle "2.0.0")
+(defvaralias 'ef-themes-disable-other-themes 'modus-themes-disable-other-themes "2.0.0")
+(defvaralias 'ef-themes-headings 'modus-themes-headings "2.0.0")
+(defvaralias 'ef-themes-mixed-fonts 'modus-themes-mixed-fonts "2.0.0")
+(defvaralias 'ef-themes-to-rotate 'modus-themes-to-rotate "2.0.0")
+(defvaralias 'ef-themes-to-toggle 'modus-themes-to-toggle "2.0.0")
+(defvaralias 'ef-themes-variable-pitch-ui 'modus-themes-variable-pitch-ui "2.0.0")
+
+;;;; User options
+
+(defgroup ef-themes ()
+ "Colorful and legible themes."
+ :group 'faces
+ :link '(info-link "(ef-themes) Top")
+ :link '(url-link :tag "Homepage" "https://protesilaos.com/emacs/ef-themes")
+ :link '(url-link :tag "Sample pictures" "https://protesilaos.com/emacs/ef-themes-pictures")
+ :prefix "ef-themes-"
+ :tag "Ef Themes")
+
(defcustom ef-themes-common-palette-overrides nil
"Set palette overrides for all the Ef themes.