branch: externals/doric-themes commit 46ea7125ce4384ffda79eed7a18f0a28e16fb814 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Add doric-pine theme --- contrasts.org | 33 ++++++++++++++++++++++++ doric-pine-theme.el | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++ doric-themes.el | 1 + 3 files changed, 107 insertions(+) diff --git a/contrasts.org b/contrasts.org index 52eb206770..365d26c405 100644 --- a/contrasts.org +++ b/contrasts.org @@ -338,6 +338,39 @@ C1 and C2 are color values written in hexadecimal RGB." | bg-accent | #432f2a | 7113 | 966 | 1381 | 8726 | 0 | #+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2 @2$6) :: $7='(Δ $2 @2$7) +** Doric Pine +:PROPERTIES: +:CUSTOM_ID: h:doric-pine +:END: + +| | | bg-main | bg-shadow-subtle | bg-neutral | bg-shadow-intense | bg-accent | +| Name | | #303f2d | #3f4637 | #4b5943 | #70523a | #376342 | +|-------------------+---------+----------+------------------+------------+-------------------+-----------| +| fg-main | #d0e2c8 | 15.39 | 7.19 | 5.48 | 5.21 | 5.09 | +| fg-shadow-subtle | #b4b5aa | 10.13 | 4.73 | 3.61 | 3.43 | 3.35 | +| fg-neutral | #c2ceaf | 12.74 | 5.95 | 4.54 | 4.31 | 4.21 | +| fg-shadow-intense | #c0b699 | 10.39 | 4.85 | 3.70 | 3.51 | 3.43 | +| fg-accent | #8ac58f | 10.46 | 4.88 | 3.72 | 3.54 | 3.46 | +|-------------------+---------+----------+------------------+------------+-------------------+-----------| +| fg-faint-red | #dba2a2 | 9.70 | 4.53 | 3.45 | 3.28 | 3.21 | +| fg-faint-green | #85c397 | 10.25 | 4.78 | 3.65 | 3.47 | 3.39 | +| fg-faint-yellow | #c4a992 | 9.44 | 4.40 | 3.36 | 3.19 | 3.12 | +| fg-faint-blue | #95afd2 | 9.34 | 4.36 | 3.33 | 3.16 | 3.09 | +| fg-faint-magenta | #c5a3b2 | 9.26 | 4.32 | 3.29 | 3.13 | 3.06 | +| fg-faint-cyan | #a5bfce | 10.94 | 5.11 | 3.90 | 3.70 | 3.62 | +#+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 | | #303f2d | #3f4637 | #4b5943 | #70523a | #376342 | +|-------------------+---------+---------+------------------+------------+-------------------+-----------| +| bg-main | #303f2d | 0 | 980 | 5717 | 11464 | 6576 | +| bg-shadow-subtle | #3f4637 | 980 | 0 | 2180 | 6274 | 3871 | +| bg-neutral | #4b5943 | 5717 | 2180 | 0 | 3677 | 1314 | +| bg-shadow-intense | #70523a | 11464 | 6274 | 3677 | 0 | 8958 | +| bg-accent | #376342 | 6576 | 3871 | 1314 | 8958 | 0 | +#+TBLFM: $3='(Δ $2 @2$3) :: $4='(Δ $2 @2$4) :: $5='(Δ $2 @2$5) :: $6='(Δ $2 @2$6) :: $7='(Δ $2 @2$7) + + ** Doric Plum :PROPERTIES: :CUSTOM_ID: h:doric-plum diff --git a/doric-pine-theme.el b/doric-pine-theme.el new file mode 100644 index 0000000000..7584fdc46d --- /dev/null +++ b/doric-pine-theme.el @@ -0,0 +1,73 @@ +;;; doric-pine-theme.el --- Minimalist dark theme -*- 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-pine-palette + '((cursor "#c0a27a") + (bg-main "#303f2d") + (fg-main "#d0e2c8") + (border "#8c997f") + + (bg-shadow-subtle "#3f4637") + (fg-shadow-subtle "#b4b5aa") + + (bg-neutral "#4b5943") + (fg-neutral "#c2ceaf") + + (bg-shadow-intense "#70523a") + (fg-shadow-intense "#c0b699") + + (bg-accent "#376342") + (fg-accent "#8ac58f") + + (fg-faint-red "#dba2a2") + (fg-faint-green "#85c397") + (fg-faint-yellow "#c4a992") + (fg-faint-blue "#95afd2") + (fg-faint-magenta "#c5a3b2") + (fg-faint-cyan "#a5bfce")) + "Palette of `doric-pine' theme.") + + (doric-themes-define-theme doric-pine dark)) + +(provide 'doric-pine-theme) +;;; doric-pine-theme.el ends here diff --git a/doric-themes.el b/doric-themes.el index fa632aa104..b1afe2fefa 100644 --- a/doric-themes.el +++ b/doric-themes.el @@ -51,6 +51,7 @@ '(doric-dark doric-fire doric-obsidian + doric-pine doric-plum doric-water) "Dark themes.")