branch: externals/doric-themes
commit 1f47ee1b6a12f3282877f62d111e07bbc09a3fcc
Author: Protesilaos <[email protected]>
Commit: Protesilaos <[email protected]>
Add doric-borage theme
---
contrasts.org | 22 ++++++++++++++
doric-borage-theme.el | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
doric-themes.el | 3 +-
3 files changed, 104 insertions(+), 1 deletion(-)
diff --git a/contrasts.org b/contrasts.org
index 0b0537c8c65..2091ad34177 100644
--- a/contrasts.org
+++ b/contrasts.org
@@ -334,6 +334,28 @@ C1 and C2 are color values written in hexadecimal RGB."
:CUSTOM_ID: h:dark-themes
:END:
+** Doric Borage
+:PROPERTIES:
+:CUSTOM_ID: h:doric-borage
+:END:
+
+| | | bg-main | bg-shadow-subtle | bg-neutral |
bg-shadow-intense | bg-accent |
+| Name | | #3a2e3f | #42394c | ##4c4760 |
#425639 | #583d49 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-main | #eed0c7 | 8.82 | 7.54 | 14.48 |
5.52 | 6.65 |
+| fg-shadow-subtle | #a690c9 | 4.54 | 3.88 | 7.45 |
2.84 | 3.42 |
+| fg-neutral | #c8c4d7 | 7.51 | 6.42 | 12.33 |
4.70 | 5.66 |
+| fg-shadow-intense | #afc487 | 6.74 | 5.76 | 11.07 |
4.22 | 5.08 |
+| fg-accent | #dfa487 | 5.97 | 5.10 | 9.80 |
3.74 | 4.50 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-red | #eed0c7 | 8.82 | 7.54 | 14.48 |
5.52 | 6.65 |
+| fg-green | #eca28f | 6.17 | 5.27 | 10.13 |
3.86 | 4.65 |
+| fg-yellow | #b9d0aa | 7.71 | 6.59 | 12.67 |
4.83 | 5.81 |
+| fg-blue | #c0b060 | 5.86 | 5.01 | 9.62 |
3.67 | 4.42 |
+| fg-magenta | #9fbfe7 | 6.75 | 5.77 | 11.08 |
4.23 | 5.09 |
+| fg-cyan | #e9acbf | 6.77 | 5.79 | 11.12 |
4.24 | 5.10 |
+#+TBLFM: $3='(Λ $2 @2$3);%.2f :: $4='(Λ $2 @2$4);%.2f :: $5='(Λ $2 @2$5);%.2f
:: $6='(Λ $2 @2$6);%.2f :: $7='(Λ $2 @2$7);%.2f
+
** Doric Copper
:PROPERTIES:
:CUSTOM_ID: h:doric-copper
diff --git a/doric-borage-theme.el b/doric-borage-theme.el
new file mode 100644
index 00000000000..a914a10d284
--- /dev/null
+++ b/doric-borage-theme.el
@@ -0,0 +1,80 @@
+;;; doric-borage-theme.el --- Minimalist theme with dark background and
orange+green hues -*- lexical-binding:t -*-
+
+;; Copyright (C) 2025-2026 Free Software Foundation, Inc.
+
+;; Author: Protesilaos <[email protected]>
+;; Maintainer: Protesilaos <[email protected]>
+;; URL: https://github.com/protesilaos/doric-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-borage-palette
+ '((cursor "#b079ff")
+ (bg-main "#3a2e3f")
+ (fg-main "#eed0c7")
+ (border "#6a647e")
+
+ (bg-shadow-subtle "#42394c")
+ (fg-shadow-subtle "#a690c9")
+
+ (bg-neutral "#4c4760")
+ (fg-neutral "#c8c4d7")
+
+ (bg-shadow-intense "#425639")
+ (fg-shadow-intense "#afc487")
+
+ (bg-accent "#583d49")
+ (fg-accent "#dfa487")
+
+ (fg-red "#eca28f")
+ (fg-green "#b9d0aa")
+ (fg-yellow "#c0b060")
+ (fg-blue "#9fbfe7")
+ (fg-magenta "#e9acbf")
+ (fg-cyan "#a0c0d0")
+
+ (bg-red "#613229")
+ (bg-green "#325331")
+ (bg-yellow "#514e2f")
+ (bg-blue "#2a3f5d")
+ (bg-magenta "#5a2f40")
+ (bg-cyan "#2f4e4f"))
+ "Palette of `doric-borage' theme.")
+
+ (doric-themes-define-theme doric-borage dark "Minimalist theme with dark
background and orange+green hues"))
+
+(provide 'doric-borage-theme)
+;;; doric-borage-theme.el ends here
diff --git a/doric-themes.el b/doric-themes.el
index ef625ff6395..d06b62c42f8 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -56,7 +56,8 @@
"Light themes.")
(defconst doric-themes-dark-themes
- '(doric-copper
+ '(doric-borage
+ doric-copper
doric-dark
doric-fire
doric-lion