aboutsummaryrefslogtreecommitdiff
path: root/ef-winter-theme.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2022-12-01 07:50:28 +0200
committerProtesilaos Stavrou <info@protesilaos.com>2022-12-01 07:53:11 +0200
commit8c9ae194d6666436f8194a32abb0c4f15c1f82fc (patch)
tree0b8737663b8b3cf1a3e62e7adf27397cb74ce6dc /ef-winter-theme.el
parent0eabe6cbd77379f921bb7a555b117f5170bfa6e5 (diff)
Add theme-autoload cookies (revert commit f7e85a4)
These seem to work with Emacs 27, whereas adding those in the 'deftheme' form produces an error.
Diffstat (limited to 'ef-winter-theme.el')
-rw-r--r--ef-winter-theme.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/ef-winter-theme.el b/ef-winter-theme.el
index 2ddbd29..2838cd4 100644
--- a/ef-winter-theme.el
+++ b/ef-winter-theme.el
@@ -38,10 +38,7 @@
(require 'ef-themes)
(deftheme ef-winter
- "Legible dark theme with magenta, purple, fawn, teal colors."
- :background-mode 'dark
- :kind 'color-scheme
- :family 'ef)
+ "Legible dark theme with magenta, purple, fawn, teal colors.")
(defconst ef-winter-palette
'(;; Basic tones
@@ -204,4 +201,7 @@
(provide-theme 'ef-winter))
+;;;###theme-autoload
+(put 'ef-winter 'theme-properties '(:background-mode dark :kind color-scheme :family ef))
+
;;; ef-winter-theme.el ends here