aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-15 11:21:41 -0500
committerCraig Jennings <c@cjennings.net>2026-06-15 11:21:41 -0500
commit4f0a8d80fe208e67f6debac430024053c6958729 (patch)
tree2efe74803c693498f863c54a1fb6f5b4d59dee1b /modules
parent7bcf6dad2b1078994346b61531bce281a75519f9 (diff)
downloaddotemacs-4f0a8d80fe208e67f6debac430024053c6958729.tar.gz
dotemacs-4f0a8d80fe208e67f6debac430024053c6958729.zip
refactor(themes): retire dupre, fall back to modus-vivendi
WIP, the theme-studio export, is the active theme. dupre was only the fallback and a structural reference. Move the fallback to the built-in modus-vivendi, guaranteed present everywhere this config loads. Delete the three dupre files plus its test and palette assets, and fix the stale comments that pointed at dupre-faces.el for the auto-dim and org-keyword faces (those moved to org-faces-config.el). Repoint the dupre-clear-theme spec's palette reference to git history.
Diffstat (limited to 'modules')
-rw-r--r--modules/auto-dim-config.el4
-rw-r--r--modules/org-config.el6
-rw-r--r--modules/ui-theme.el9
3 files changed, 9 insertions, 10 deletions
diff --git a/modules/auto-dim-config.el b/modules/auto-dim-config.el
index 7101c241a..a143f8fe0 100644
--- a/modules/auto-dim-config.el
+++ b/modules/auto-dim-config.el
@@ -16,8 +16,8 @@
;; Dims windows that do not have focus so the selected window stands out,
;; using a local fork of auto-dim-other-buffers (the fork adds a focus-change
;; debounce). The dimmed faces (auto-dim-other-buffers and
-;; auto-dim-other-buffers-hide) live in the active theme
-;; (themes/dupre-faces.el) so they track theme switches.
+;; auto-dim-other-buffers-hide) live in the active theme (the generated
+;; theme-studio theme) so they track theme switches.
;;
;; Terminal buffers (ghostel) do not participate in window dimming: ghostel
;; bakes its color palette into the native module per-terminal, not per-window,
diff --git a/modules/org-config.el b/modules/org-config.el
index 783109349..e7538f244 100644
--- a/modules/org-config.el
+++ b/modules/org-config.el
@@ -209,9 +209,9 @@ whole row line."
"DELEGATED(x)" "|"
"FAILED(f!)" "DONE(d!)" "CANCELLED(c!)")))
- ;; Keyword and priority colors are left to the active theme's standard org
- ;; faces (org-todo / org-done / org-priority) so they follow whatever theme is
- ;; loaded rather than hard-wiring the dupre-org-* faces.
+ ;; Keyword and priority faces are defined and wired in org-faces-config.el
+ ;; (loaded just after this module): each keyword and priority maps to its own
+ ;; org-faces-* face, which the active theme recolors.
(setq org-highest-priority ?A)
(setq org-lowest-priority ?D)
(setq org-default-priority ?D)
diff --git a/modules/ui-theme.el b/modules/ui-theme.el
index a7873b9a5..8be3b4fdf 100644
--- a/modules/ui-theme.el
+++ b/modules/ui-theme.el
@@ -64,14 +64,13 @@ directory that is sync'd across machines with this configuration."
:type 'file
:group 'cj/ui-theme)
-(defcustom fallback-theme-name "dupre"
+(defcustom fallback-theme-name "modus-vivendi"
"The name of the theme to fallback on.
This is used when there's no file, or the theme name doesn't match
any of the installed themes. It must be available wherever this config is
-loaded, since the fallback has no further fallback. dupre is bundled in
-themes/ and carries the dimming colors chosen for this config, so it is the
-default; a built-in theme like modus-vivendi works too but has no chosen
-dimming colors. If theme name is `nil', there will be no theme."
+loaded, since the fallback has no further fallback. modus-vivendi ships with
+Emacs, so it is present on every machine that loads this config, which makes
+it the right default. If theme name is `nil', there will be no theme."
:type 'string
:group 'cj/ui-theme)