branch: externals/doric-themes
commit c2538be6c0579902a4c83dc86a20661d9e00fac2
Author: Protesilaos <[email protected]>
Commit: Protesilaos <[email protected]>
Add doric-lilac theme
---
contrasts.org | 22 +++++++++++++++
doric-lilac-theme.el | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doric-themes.el | 1 +
3 files changed, 103 insertions(+)
diff --git a/contrasts.org b/contrasts.org
index 01c5f38204e..0b0537c8c65 100644
--- a/contrasts.org
+++ b/contrasts.org
@@ -197,6 +197,28 @@ C1 and C2 are color values written in hexadecimal RGB."
| fg-cyan | #005355 | 8.87 | 7.73 | 6.48 |
4.47 | 7.51 |
#+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 Lilac
+:PROPERTIES:
+:CUSTOM_ID: h:doric-lilac
+:END:
+
+| | | bg-main | bg-shadow-subtle | bg-neutral |
bg-shadow-intense | bg-accent |
+| Name | | #f2f0e7 | #e7e2d7 | #d5cbc7 |
#c7c0e4 | ##cfe4c7 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-main | #1a3530 | 11.53 | 10.19 | 8.27 |
7.58 | 1.60 |
+| fg-shadow-subtle | #6e522a | 6.34 | 5.60 | 4.55 |
4.16 | 2.90 |
+| fg-neutral | #53402f | 8.59 | 7.59 | 6.16 |
5.64 | 2.14 |
+| fg-shadow-intense | #5b4295 | 6.92 | 6.12 | 4.96 |
4.55 | 2.66 |
+| fg-accent | #435a00 | 6.81 | 6.02 | 4.89 |
4.48 | 2.70 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-red | #982500 | 7.08 | 6.25 | 5.08 |
4.65 | 2.60 |
+| fg-green | #226700 | 6.11 | 5.40 | 4.39 |
4.02 | 3.01 |
+| fg-yellow | #595000 | 7.15 | 6.32 | 5.13 |
4.70 | 2.57 |
+| fg-blue | #595000 | 7.15 | 6.32 | 5.13 |
4.70 | 2.57 |
+| fg-magenta | #700054 | 10.12 | 8.95 | 7.26 |
6.65 | 1.82 |
+| fg-cyan | #005460 | 7.55 | 6.67 | 5.41 |
4.96 | 2.44 |
+#+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 Marble
:PROPERTIES:
:CUSTOM_ID: h:doric-marble
diff --git a/doric-lilac-theme.el b/doric-lilac-theme.el
new file mode 100644
index 00000000000..06e868f005f
--- /dev/null
+++ b/doric-lilac-theme.el
@@ -0,0 +1,80 @@
+;;; doric-lilac-theme.el --- Minimalist theme with light background and
green+purple 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-lilac-palette
+ '((cursor "#a07f50")
+ (bg-main "#f2f0e7")
+ (fg-main "#1a3530")
+ (border "#8f9373")
+
+ (bg-shadow-subtle "#e7e2d7")
+ (fg-shadow-subtle "#6e522a")
+
+ (bg-neutral "#d5cbc7")
+ (fg-neutral "#53402f")
+
+ (bg-shadow-intense "#c7c0e4")
+ (fg-shadow-intense "#5b4295")
+
+ (bg-accent "#cfe4c7")
+ (fg-accent "#435a00")
+
+ (fg-red "#982500")
+ (fg-green "#226700")
+ (fg-yellow "#595000")
+ (fg-blue "#103077")
+ (fg-magenta "#700054")
+ (fg-cyan "#005460")
+
+ (bg-red "#e3b8a0")
+ (bg-green "#b8caa0")
+ (bg-yellow "#dfc085")
+ (bg-blue "#c4c8dd")
+ (bg-magenta "#d8bade")
+ (bg-cyan "#bee0db"))
+ "Palette of `doric-lilac' theme.")
+
+ (doric-themes-define-theme doric-lilac light "Minimalist theme with light
background and green+purple hues"))
+
+(provide 'doric-lilac-theme)
+;;; doric-lilac-theme.el ends here
diff --git a/doric-themes.el b/doric-themes.el
index 1eacd7ecd81..ef625ff6395 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -47,6 +47,7 @@
doric-earth
doric-jade
doric-light
+ doric-lilac
doric-marble
doric-oak
doric-siren