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

    Add doric-valley theme
---
 contrasts.org         | 32 +++++++++++++++++++++
 doric-themes.el       |  1 +
 doric-valley-theme.el | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+)

diff --git a/contrasts.org b/contrasts.org
index 1d6fb216ed..b9ac23a431 100644
--- a/contrasts.org
+++ b/contrasts.org
@@ -434,6 +434,38 @@ C1 and C2 are color values written in hexadecimal RGB."
 | bg-accent         | #501e3e |    5289 |             3499 |       5048 |      
       12099 |         0 |
 #+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2 
@2$6) :: $7='(Δ $2 @2$7)
 
+** Doric Valley
+:PROPERTIES:
+:CUSTOM_ID: h:doric-valley
+:END:
+
+|                   |         | bg-main | bg-shadow-subtle | bg-neutral | 
bg-shadow-intense | bg-accent |
+| Name              |         | #383035 |          #484040 |    #554f52 |      
     #5a5470 |   #714d4c |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-main           | #e0d5b7 |    8.75 |             6.90 |       5.47 |      
        4.89 |      5.01 |
+| fg-shadow-subtle  | #afa497 |    5.22 |             4.12 |       3.27 |      
        2.92 |      2.99 |
+| fg-neutral        | #d9cfbe |    8.29 |             6.54 |       5.19 |      
        4.64 |      4.75 |
+| fg-shadow-intense | #d2cae7 |    8.12 |             6.41 |       5.08 |      
        4.54 |      4.65 |
+| fg-accent         | #f6c097 |    7.86 |             6.20 |       4.91 |      
        4.39 |      4.50 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-red            | #f6c097 |    7.86 |             6.20 |       4.91 |      
        4.39 |      4.50 |
+| fg-green          | #b9d0aa |    7.71 |             6.08 |       4.82 |      
        4.31 |      4.42 |
+| fg-yellow         | #c0b080 |    5.94 |             4.69 |       3.72 |      
        3.32 |      3.40 |
+| fg-blue           | #9fbfe7 |    6.75 |             5.32 |       4.22 |      
        3.77 |      3.86 |
+| fg-magenta        | #e9acbf |    6.77 |             5.34 |       4.23 |      
        3.79 |      3.88 |
+| fg-cyan           | #a0c0d0 |    6.66 |             5.25 |       4.17 |      
        3.73 |      3.82 |
+#+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              |         | #383035 |          #484040 |    #554f52 |      
     #5a5470 |   #74564e |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| bg-main           | #383035 |       0 |             1948 |       8111 |      
       17408 |     15978 |
+| bg-shadow-subtle  | #484040 |    1948 |                0 |       2179 |      
        8597 |      7092 |
+| bg-neutral        | #554f52 |    8111 |             2179 |          0 |      
        2569 |      2558 |
+| bg-shadow-intense | #5a5470 |   17408 |             8597 |       2569 |      
           0 |      4678 |
+| bg-accent         | #74564e |   15978 |             7092 |       2558 |      
        4678 |         0 |
+#+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2 
@2$6) :: $7='(Δ $2 @2$7)
+
 ** Doric Water
 :PROPERTIES:
 :CUSTOM_ID: h:doric-water
diff --git a/doric-themes.el b/doric-themes.el
index 17a207b1fb..79891749ec 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -54,6 +54,7 @@
     doric-obsidian
     doric-pine
     doric-plum
+    doric-valley
     doric-water)
   "Dark themes.")
 
diff --git a/doric-valley-theme.el b/doric-valley-theme.el
new file mode 100644
index 0000000000..2e1c02e7b2
--- /dev/null
+++ b/doric-valley-theme.el
@@ -0,0 +1,80 @@
+;;; doric-valley-theme.el --- Minimalist theme with dark background and 
indigo+gold hues -*- 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-valley-palette
+    '((cursor "#d8a4a0")
+      (bg-main "#383035")
+      (fg-main "#e0d5b7")
+      (border "#846b61")
+
+      (bg-shadow-subtle "#484040")
+      (fg-shadow-subtle "#afa497")
+
+      (bg-neutral "#554f52")
+      (fg-neutral "#d9cfbe")
+
+      (bg-shadow-intense "#5a5470")
+      (fg-shadow-intense "#d2cae7")
+
+      (bg-accent "#714d4c")
+      (fg-accent "#f6c097")
+
+      (fg-red "#eca28f")
+      (fg-green "#b9d0aa")
+      (fg-yellow "#c0b080")
+      (fg-blue "#9fbfe7")
+      (fg-magenta "#e9acbf")
+      (fg-cyan "#a0c0d0")
+
+      (bg-red "#621f33")
+      (bg-green "#19402f")
+      (bg-yellow "#50442f")
+      (bg-blue "#3a386b")
+      (bg-magenta "#5a2f40")
+      (bg-cyan "#2f495f"))
+  "Palette of `doric-valley' theme.")
+
+  (doric-themes-define-theme doric-valley dark "Minimalist theme with dark 
background and indigo+gold hues"))
+
+(provide 'doric-valley-theme)
+;;; doric-valley-theme.el ends here

Reply via email to