From 4f0a8d80fe208e67f6debac430024053c6958729 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 15 Jun 2026 11:21:41 -0500 Subject: 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. --- themes/dupre-theme.el | 63 --------------------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 themes/dupre-theme.el (limited to 'themes/dupre-theme.el') 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 -;; 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 -- cgit v1.2.3