branch: externals/doric-themes
commit de164d4291f3b4261bb551fe890c948ff538d32a
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Add doric-magma theme
---
contrasts.org | 32 +++++++++++++++++++++
doric-magma-theme.el | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doric-themes.el | 1 +
3 files changed, 113 insertions(+)
diff --git a/contrasts.org b/contrasts.org
index d0af49c376..1d9019435d 100644
--- a/contrasts.org
+++ b/contrasts.org
@@ -468,6 +468,38 @@ C1 and C2 are color values written in hexadecimal RGB."
| bg-accent | #56452f | 9806 | 2425 | 1088 |
4440 | 0 |
#+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2
@2$6) :: $7='(Δ $2 @2$7)
+** Doric Magma
+:PROPERTIES:
+:CUSTOM_ID: h:doric-magma
+:END:
+
+| | | bg-main | bg-shadow-subtle | bg-neutral |
bg-shadow-intense | bg-accent |
+| Name | | #351b10 | #48332b | #5f4743 |
#7c301c | #5a2914 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-main | #e0baa0 | 8.89 | 6.56 | 4.74 |
5.09 | 6.64 |
+| fg-shadow-subtle | #a0a1a6 | 6.19 | 4.56 | 3.30 |
3.55 | 4.62 |
+| fg-neutral | #cfbbb0 | 8.66 | 6.38 | 4.61 |
4.96 | 6.46 |
+| fg-shadow-intense | #ff9d7e | 7.89 | 5.82 | 4.20 |
4.52 | 5.89 |
+| fg-accent | #f65f47 | 5.05 | 3.73 | 2.69 |
2.89 | 3.77 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| fg-red | #fc826f | 6.51 | 4.80 | 3.47 |
3.73 | 4.86 |
+| fg-green | #b9c06a | 8.22 | 6.06 | 4.38 |
4.71 | 6.14 |
+| fg-yellow | #cfa030 | 6.63 | 4.89 | 3.53 |
3.80 | 4.95 |
+| fg-blue | #7fafc7 | 6.73 | 4.97 | 3.59 |
3.86 | 5.03 |
+| fg-magenta | #df70af | 5.38 | 3.97 | 2.87 |
3.08 | 4.01 |
+| fg-cyan | #70a0c0 | 5.68 | 4.19 | 3.03 |
3.26 | 4.24 |
+#+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 | | #351b10 | #48332b | #5f4743 |
#7c301c | #5a2914 |
+|-------------------+---------+---------+------------------+------------+-------------------+-----------|
+| bg-main | #351b10 | 0 | 5162 | 18979 |
14086 | 3980 |
+| bg-shadow-subtle | #48332b | 5162 | 0 | 4404 |
7127 | 2589 |
+| bg-neutral | #5f4743 | 18979 | 4404 | 0 |
8132 | 9559 |
+| bg-shadow-intense | #7c301c | 14086 | 7127 | 8132 |
0 | 3182 |
+| bg-accent | #5a2914 | 3980 | 2589 | 9559 |
3182 | 0 |
+#+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2
@2$6) :: $7='(Δ $2 @2$7)
+
** Doric Mermaid
:PROPERTIES:
:CUSTOM_ID: h:doric-mermaid
diff --git a/doric-magma-theme.el b/doric-magma-theme.el
new file mode 100644
index 0000000000..2e17a308c5
--- /dev/null
+++ b/doric-magma-theme.el
@@ -0,0 +1,80 @@
+;;; doric-magma-theme.el --- Minimalist theme with dark background and red
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-magma-palette
+ '((cursor "#ef3839")
+ (bg-main "#351b10")
+ (fg-main "#e0baa0")
+ (border "#706061")
+
+ (bg-shadow-subtle "#48332b")
+ (fg-shadow-subtle "#a0a196")
+
+ (bg-neutral "#5f4743")
+ (fg-neutral "#cfbbb0")
+
+ (bg-shadow-intense "#7c301c")
+ (fg-shadow-intense "#ff9d7e")
+
+ (bg-accent "#5a2914")
+ (fg-accent "#f65f47")
+
+ (fg-red "#fc826f")
+ (fg-green "#b9c06a")
+ (fg-yellow "#cfa030")
+ (fg-blue "#7fafc7")
+ (fg-magenta "#df70af")
+ (fg-cyan "#70a0c0")
+
+ (bg-red "#5f240f")
+ (bg-green "#3f440f")
+ (bg-yellow "#554600")
+ (bg-blue "#3f2457")
+ (bg-magenta "#5a2f40")
+ (bg-cyan "#2f4954"))
+ "Palette of `doric-magma' theme.")
+
+ (doric-themes-define-theme doric-magma dark "Minimalist theme with dark
background and red hues"))
+
+(provide 'doric-magma-theme)
+;;; doric-magma-theme.el ends here
diff --git a/doric-themes.el b/doric-themes.el
index e7448d196e..ac960b5a1b 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -56,6 +56,7 @@
'(doric-copper
doric-dark
doric-fire
+ doric-magma
doric-mermaid
doric-obsidian
doric-pine