branch: externals/doric-themes
commit b497a5bcb44b7f52d5aaf0fa4b60ce0b8bef044d
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Add dorid-almond theme
---
 contrasts.org         | 33 +++++++++++++++++++++
 doric-almond-theme.el | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doric-themes.el       |  3 +-
 3 files changed, 115 insertions(+), 1 deletion(-)

diff --git a/contrasts.org b/contrasts.org
index 202b5a35b1..d0af49c376 100644
--- a/contrasts.org
+++ b/contrasts.org
@@ -46,6 +46,39 @@ C1 and C2 are color values written in hexadecimal RGB."
 :PROPERTIES:
 :CUSTOM_ID: h:light-themes
 :END:
+
+** Doric Almond
+:PROPERTIES:
+:CUSTOM_ID: h:doric-almond
+:END:
+
+|                   |         | bg-main | bg-shadow-subtle | bg-neutral | 
bg-shadow-intense | bg-accent |
+| Name              |         | #fef8ed |          #efe4e6 |    #dfd9de |      
     #cce7b4 |   #fee1ce |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-main           | #40282e |   12.73 |            10.83 |       9.68 |      
       10.03 |     10.81 |
+| fg-shadow-subtle  | #6a6098 |    5.31 |             4.52 |       4.04 |      
        4.19 |      4.51 |
+| fg-neutral        | #4e4053 |    9.10 |             7.75 |       6.93 |      
        7.17 |      7.73 |
+| fg-shadow-intense | #206038 |    7.12 |             6.06 |       5.42 |      
        5.61 |      6.04 |
+| fg-accent         | #880058 |    9.08 |             7.73 |       6.91 |      
        7.16 |      7.71 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-red            | #a00040 |    7.73 |             6.58 |       5.89 |      
        6.10 |      6.57 |
+| fg-green          | #006730 |    6.66 |             5.67 |       5.07 |      
        5.25 |      5.66 |
+| fg-yellow         | #704000 |    8.20 |             6.98 |       6.24 |      
        6.46 |      6.97 |
+| fg-blue           | #203080 |   11.06 |             9.42 |       8.42 |      
        8.72 |      9.40 |
+| fg-magenta        | #800060 |    9.52 |             8.10 |       7.24 |      
        7.50 |      8.09 |
+| fg-cyan           | #005560 |    8.05 |             6.85 |       6.12 |      
        6.34 |      6.84 |
+#+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
+
+|                   |         | bg-main | bg-shadow-subtle | bg-neutral | 
bg-shadow-intense | bg-accent |
+| Name              |         | #fef8ed |          #efe4e6 |    #dfd9de |      
     #cce7b4 |   #fee1ce |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| bg-main           | #fef8ed |       0 |             2385 |       7185 |      
       15349 |      4073 |
+| bg-shadow-subtle  | #efe4e6 |    2385 |                0 |       1372 |      
        8947 |      1889 |
+| bg-neutral        | #dfd9de |    7185 |             1372 |          0 |      
        5667 |      3633 |
+| bg-shadow-intense | #cce7b4 |   15349 |             8947 |       5667 |      
           0 |      8878 |
+| bg-accent         | #fee1ce |    4073 |             1889 |       3633 |      
        8878 |         0 |
+#+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2 
@2$6) :: $7='(Δ $2 @2$7)
+
 ** Doric Beach
 :PROPERTIES:
 :CUSTOM_ID: h:doric-beach
diff --git a/doric-almond-theme.el b/doric-almond-theme.el
new file mode 100644
index 0000000000..ed175924f5
--- /dev/null
+++ b/doric-almond-theme.el
@@ -0,0 +1,80 @@
+;;; doric-almond-theme.el --- Minimalist theme with light background and 
green+magenta hues -*- lexical-binding:t -*-
+
+;; Copyright (C) 2025-2026  Free Software Foundation, Inc.
+
+;; Author: Protesilaos Stavrou <[email protected]>
+;; Maintainer: Protesilaos Stavrou <[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-almond-palette
+    '((cursor "#902728")
+      (bg-main "#fef8ed")
+      (fg-main "#40282e")
+      (border "#c9a3b4")
+
+      (bg-shadow-subtle "#efe4e6")
+      (fg-shadow-subtle "#6a6098")
+
+      (bg-neutral "#dfd9de")
+      (fg-neutral "#4e4053")
+
+      (bg-shadow-intense "#cce7b4")
+      (fg-shadow-intense "#206038")
+
+      (bg-accent "#fee1ce")
+      (fg-accent "#880058")
+
+      (fg-red "#a00040")
+      (fg-green "#006730")
+      (fg-yellow "#704000")
+      (fg-blue "#203080")
+      (fg-magenta "#800060")
+      (fg-cyan "#005560")
+
+      (bg-red "#f4bbc7")
+      (bg-green "#aeddd4")
+      (bg-yellow "#e5e0b0")
+      (bg-blue "#bbcce8")
+      (bg-magenta "#e0c0e7")
+      (bg-cyan "#c2e7f8"))
+  "Palette of `doric-almond' theme.")
+
+  (doric-themes-define-theme doric-almond light "Minimalist theme with light 
background and green+magenta hues"))
+
+(provide 'doric-almond-theme)
+;;; doric-almond-theme.el ends here
diff --git a/doric-themes.el b/doric-themes.el
index 92c7e7ff6e..e7448d196e 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -40,7 +40,8 @@
 (eval-when-compile (require 'subr-x))
 
 (defconst doric-themes-light-themes
-  '(doric-beach
+  '(doric-almond
+    doric-beach
     doric-cherry
     doric-earth
     doric-jade

Reply via email to