branch: externals/doric-themes commit b35f85a801959ce04fd01d159533ac4c4445a0c5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Add doric-dark theme --- doric-dark-theme.el | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/doric-dark-theme.el b/doric-dark-theme.el new file mode 100644 index 0000000000..ffe496e894 --- /dev/null +++ b/doric-dark-theme.el @@ -0,0 +1,69 @@ +;;; doric-dark-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-dark-palette + '((cursor "#ccaaee") + (bg-main "#000000") + (fg-main "#ffffff") + + (bg-shadow-subtle "#363041") + (fg-shadow-subtle "#a2a0b2") + + (bg-shadow-intense "#50447f") + (fg-shadow-intense "#cfcff8") + + (bg-accent "#5f2a4f") + (fg-accent "#cda4df") + + (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-dark' theme.") + + (doric-themes-define-theme doric-dark dark)) + +(provide 'doric-dark-theme) +;;; doric-dark-theme.el ends here