branch: externals/doric-themes
commit 902fed564fbdeb8a9cbce48ffe5501ca8567cd0b
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add doric-plum theme
---
 doric-plum-theme.el | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 doric-themes.el     |  7 +++++-
 2 files changed, 78 insertions(+), 1 deletion(-)

diff --git a/doric-plum-theme.el b/doric-plum-theme.el
new file mode 100644
index 0000000000..2d8f6eec56
--- /dev/null
+++ b/doric-plum-theme.el
@@ -0,0 +1,72 @@
+;;; doric-plum-theme.el --- Minimalist dark theme -*- lexical-binding:t -*-
+
+;; Copyright (C) 2025  Free Software Foundation, Inc.
+
+;; Author: Protesilaos Stavrou <i...@protesilaos.com>
+;; Maintainer: Protesilaos Stavrou <i...@protesilaos.com>
+;; URL: https://github.com/protesilaos/ef-themes
+;; Keywords: faces, theme, accessibility
+
+;; This file is NOT part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+;;
+;; A collection of highly legible, minimalist themes.  If you want
+;; something more colourful, use my `ef-themes'.  For a "good default"
+;; theme, try my `modus-themes'.
+;;
+;; The backronym of the `doric-themes' is: Doric Only Really
+;; Intensifies Conservatively ... themes.
+
+;;; Code:
+
+(eval-and-compile
+  (unless (and (fboundp 'require-theme)
+               load-file-name
+               (equal (file-name-directory load-file-name)
+                      (expand-file-name "themes/" data-directory))
+               (require-theme 'doric-themes t))
+    (require 'doric-themes))
+
+  (defvar doric-plum-palette
+    '((cursor "#c070d0")
+      (bg-main "#221832")
+      (fg-main "#e2d7e7")
+      (border "#67607a")
+
+      (bg-shadow-subtle "#382b4e")
+      (fg-shadow-subtle "#92829c")
+
+      (bg-neutral "#473f57")
+
+      (bg-shadow-intense "#604179")
+      (fg-shadow-intense "#d2b6e0")
+
+      (bg-accent "#501e3e")
+      (fg-accent "#c58fba")
+
+      (fg-faint-red "#dba2a2")
+      (fg-faint-green "#85c397")
+      (fg-faint-yellow "#c4a992")
+      (fg-faint-blue "#95afd2")
+      (fg-faint-magenta "#c5a3b2")
+      (fg-faint-cyan "#a5bfce"))
+  "Palette of `doric-plum' theme.")
+
+  (doric-themes-define-theme doric-plum dark))
+
+(provide 'doric-plum-theme)
+;;; doric-plum-theme.el ends here
diff --git a/doric-themes.el b/doric-themes.el
index ae41030001..ddcd6bab5f 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -46,7 +46,12 @@
     doric-wind)
   "Light themes.")
 
-(defconst doric-themes-dark-themes '(doric-dark doric-obsidian doric-fire 
doric-water)
+(defconst doric-themes-dark-themes
+  '(doric-dark
+    doric-fire
+    doric-plum
+    doric-obsidian
+    doric-water)
   "Dark themes.")
 
 (defconst doric-themes-collection

Reply via email to