branch: externals/doric-themes
commit cbc741982b69b8ca955abc5d23d6cbb0368e7087
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
WORK-IN-PROGRESS Add doric-mermaid theme
---
doric-mermaid-theme.el | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++
doric-themes.el | 1 +
2 files changed, 81 insertions(+)
diff --git a/doric-mermaid-theme.el b/doric-mermaid-theme.el
new file mode 100644
index 0000000000..9744471240
--- /dev/null
+++ b/doric-mermaid-theme.el
@@ -0,0 +1,80 @@
+;;; doric-mermaid-theme.el --- Minimalist theme with dark background and
blue-grey hues -*- lexical-binding:t -*-
+
+;; Copyright (C) 2025 Free Software Foundation, Inc.
+
+;; Author: Protesilaos Stavrou <[email protected]>
+;; Maintainer: Protesilaos Stavrou <[email protected]>
+;; 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-mermaid-palette
+ '((cursor "#c0acf0")
+ (bg-main "#3a2f48")
+ (fg-main "#dde0f8")
+ (border "#9580aa")
+
+ (bg-shadow-subtle "#423c55")
+ (fg-shadow-subtle "#a196b8")
+
+ (bg-neutral "#574b67")
+ (fg-neutral "#d8d0e6")
+
+ (bg-shadow-intense "#4f5087")
+ (fg-shadow-intense "#b4a3ee")
+
+ (bg-accent "#5d3f55")
+ (fg-accent "#e8add2")
+
+ (fg-red "#eca28f")
+ (fg-green "#a0d0ba")
+ (fg-yellow "#c0b080")
+ (fg-blue "#9fbfe7")
+ (fg-magenta "#e9acbf")
+ (fg-cyan "#a0c0d0")
+
+ (bg-red "#602638")
+ (bg-green "#104c3a")
+ (bg-yellow "#50442f")
+ (bg-blue "#323a6b")
+ (bg-magenta "#5a2855")
+ (bg-cyan "#2f495f"))
+ "Palette of `doric-mermaid' theme.")
+
+ (doric-themes-define-theme doric-mermaid dark "Minimalist theme with dark
background and blue-grey hues"))
+
+(provide 'doric-mermaid-theme)
+;;; doric-mermaid-theme.el ends here
diff --git a/doric-themes.el b/doric-themes.el
index 81b44df9dd..82e0d5ff2f 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -53,6 +53,7 @@
(defconst doric-themes-dark-themes
'(doric-dark
doric-fire
+ doric-mermaid
doric-obsidian
doric-pine
doric-plum