diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-15 11:21:41 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-15 11:21:41 -0500 |
| commit | 4f0a8d80fe208e67f6debac430024053c6958729 (patch) | |
| tree | 2efe74803c693498f863c54a1fb6f5b4d59dee1b /themes/dupre-theme.el | |
| parent | 7bcf6dad2b1078994346b61531bce281a75519f9 (diff) | |
| download | dotemacs-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 'themes/dupre-theme.el')
| -rw-r--r-- | themes/dupre-theme.el | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/themes/dupre-theme.el b/themes/dupre-theme.el deleted file mode 100644 index 5edb1a177..000000000 --- a/themes/dupre-theme.el +++ /dev/null @@ -1,63 +0,0 @@ -;;; dupre-theme.el --- A dark and elegant theme for Emacs -*- lexical-binding: t -*- - -;; Version: 1.0.0 -;; Author: Craig Jennings <c@cjennings.net> -;; URL: https://github.com/cjennings/dupre-theme -;; Keywords: dark theme faces - -;;; Commentary: - -;; A dark, warm theme for Emacs with 150+ face definitions. -;; Originally based on the distinguished theme by Kim Silkebaekken. -;; -;; This theme is optimized for GUI Emacs. Terminal fallbacks are basic. -;; -;; Color palette follows a warm aesthetic: -;; - Yellow (#d7af5f) as primary accent -;; - Blue (#67809c) for keywords and navigation -;; - Green (#a4ac64) for strings and success -;; - Red (#d47c59) for functions and emphasis -;; -;; File structure: -;; - dupre-theme.el (this file) - Theme definition and entry point -;; - dupre-palette.el - Color definitions and semantic mappings -;; - dupre-faces.el - All face specifications (~150 faces) - -;;; Code: - -(eval-and-compile - ;; Add themes directory to load-path for require - (when-let ((dir (file-name-directory (or load-file-name - buffer-file-name - (locate-library "dupre-theme"))))) - (unless (member dir load-path) - (add-to-list 'load-path dir)))) - -(require 'dupre-palette) -(require 'dupre-faces) - -(defgroup dupre-theme nil - "Options for the `dupre' colour theme." - :group 'faces) - -(deftheme dupre - "A dark and elegant theme for Emacs with warm undertones." - :background-mode 'dark - :kind 'color-scheme) - -;; Set theme variables -(custom-theme-set-variables - 'dupre - '(frame-background-mode 'dark) - '(fringe-mode 8)) - -;; Apply all face definitions -(dupre-theme-set-faces) - -;;;###autoload -(when load-file-name - (add-to-list 'custom-theme-load-path - (file-name-as-directory (file-name-directory load-file-name)))) - -(provide-theme 'dupre) -;;; dupre-theme.el ends here |
