branch: externals/doric-themes commit e398cfb4979915db15f914c33c6d095be7bc0e1d Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Add doric-light theme --- doric-light-theme.el | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/doric-light-theme.el b/doric-light-theme.el new file mode 100644 index 0000000000..62d8d96cfa --- /dev/null +++ b/doric-light-theme.el @@ -0,0 +1,69 @@ +;;; doric-light-theme.el --- Minimalist light 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-light-palette + '((cursor "#2266bb") + (bg-main "#ffffff") + (fg-main "#000000") + + (bg-shadow-subtle "#e2e7e8") + (fg-shadow-subtle "#405060") + + (bg-shadow-intense "#a0bcd0") + (fg-shadow-intense "#0f123e") + + (bg-accent "#c2e8ef") + (fg-accent "#084092") + + (fg-faint-red "#750000") + (fg-faint-green "#056100") + (fg-faint-yellow "#5f4602") + (fg-faint-blue "#353362") + (fg-faint-magenta "#553372") + (fg-faint-cyan "#35485e")) + "Palette of `doric-light' theme.") + + (doric-themes-define-theme doric-light light)) + +(provide 'doric-light-theme) +;;; doric-light-theme.el ends here