aboutsummaryrefslogtreecommitdiff
path: root/ef-tritanopia-light-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-tritanopia-light-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-tritanopia-light-theme.el')
-rw-r--r--ef-tritanopia-light-theme.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/ef-tritanopia-light-theme.el b/ef-tritanopia-light-theme.el
index 1f3b611..0dddfdd 100644
--- a/ef-tritanopia-light-theme.el
+++ b/ef-tritanopia-light-theme.el
@@ -35,6 +35,13 @@
(require 'ef-themes)
+;;;###theme-autoload
+(deftheme ef-tritanopia-light
+ "Legible light theme, optimized for blue-yellow color deficiency."
+ :background-mode 'light
+ :kind 'color-scheme
+ :family 'ef)
+
;; Most of the colors here, like the blue 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.