aboutsummaryrefslogtreecommitdiff
path: root/ef-deuteranopia-dark-theme.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2026-02-18 18:46:12 +0200
committerProtesilaos Stavrou <info@protesilaos.com>2026-02-18 18:46:12 +0200
commita4b5f9353063ef895f6c13c8cd594bfd5df455ca (patch)
treed76fb0efc31846c4b9f165b238e97ffd0098136c /ef-deuteranopia-dark-theme.el
parentf3f074d5fbeb0c3cf9622205c22e012120761390 (diff)
Reinstate the theme-autoload cookie with the deftheme in place
We need this because otherwise the autolaods are not generated properly, which can cause problems for other packages that need to read the theme data.
Diffstat (limited to 'ef-deuteranopia-dark-theme.el')
-rw-r--r--ef-deuteranopia-dark-theme.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/ef-deuteranopia-dark-theme.el b/ef-deuteranopia-dark-theme.el
index 6ca990c..5430965 100644
--- a/ef-deuteranopia-dark-theme.el
+++ b/ef-deuteranopia-dark-theme.el
@@ -35,6 +35,13 @@
(require 'ef-themes)
+;;;###theme-autoload
+(deftheme ef-deuteranopia-dark
+ "Legible dark theme, optimized for red-green color deficiency."
+ :background-mode 'dark
+ :kind 'color-scheme
+ :family 'ef)
+
;; Most of the colors here, like the red and green hues, are defined
;; simply to preserve compatibility with the rest of the project. We
;; don't actually rely on them for anything critical.