-._protesilaos-s-_ef_themes_.-/ef-autumn-theme.el

166 lines
4.7 KiB
EmacsLisp
Raw Permalink Normal View History

2022-08-15 08:25:51 +02:00
;;; ef-autumn-theme.el --- Legible dark theme -*- lexical-binding:t -*-
;; Copyright (C) 2022 Free Software Foundation, Inc.
;; Author: Protesilaos Stavrou <info@protesilaos.com>
;; Maintainer: Ef-Themes Development <~protesilaos/ef-themes@lists.sr.ht>
;; URL: https://git.sr.ht/~protesilaos/ef-themes
;; Mailing-List: https://lists.sr.ht/~protesilaos/ef-themes
;; Version: 0.1.0
2022-08-15 08:25:51 +02:00
;; Package-Requires: ((emacs "28.1"))
;; Keywords: faces, theme, accessibility
;; This file is 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:
;;
2022-08-16 00:06:59 +02:00
;; The `ef-themes' are a collection of light and dark themes for GNU
;; Emacs whose goal is to provide colorful ("pretty") yet legible
;; options for users who want something with a bit more flair than the
;; `modus-themes' (also designed by me).
2022-08-15 08:25:51 +02:00
;;; Code:
(eval-and-compile
(require 'ef-themes)
(deftheme ef-autumn "Legible dark theme.")
(defconst ef-autumn-palette
'(;; Basic tones
2022-08-16 00:21:20 +02:00
(bg-main "#0f0e06")
(fg-main "#cfbcba")
(bg-dim "#1f1b19")
(fg-dim "#887c8a")
(bg-alt "#36322f")
(fg-alt "#70a89f")
2022-08-15 08:25:51 +02:00
;; Basic hues for foreground values
2022-08-15 15:10:49 +02:00
(red "#ef656a")
(red-warmer "#f06a3f")
(red-cooler "#ff7a7f")
2022-08-15 15:10:49 +02:00
(red-faint "#d08f72")
(green "#2fa526")
(green-warmer "#64aa0f")
(green-cooler "#00b672")
(green-faint "#519068")
2022-08-15 15:10:49 +02:00
(yellow "#c48502")
(yellow-warmer "#e0832f")
(yellow-cooler "#df8f6f")
(yellow-faint "#cf9f7f")
(blue "#379cf6")
(blue-warmer "#6a88ff")
(blue-cooler "#029fff")
(blue-faint "#6a84af")
2022-08-15 15:10:49 +02:00
(magenta "#d570af")
(magenta-warmer "#e580ea")
(magenta-cooler "#af8aff")
(magenta-faint "#c590af")
(cyan "#4fb0cf")
(cyan-warmer "#6fafff")
(cyan-cooler "#3dbbb0")
(cyan-faint "#82a0af")
2022-08-15 08:25:51 +02:00
;; Basic hues for background values
2022-08-16 00:21:20 +02:00
(bg-red "#cd2f30")
(bg-green "#20a020")
(bg-yellow "#9a4f20")
(bg-blue "#3f43af")
(bg-magenta "#c040cf")
(bg-cyan "#027080")
2022-08-15 08:25:51 +02:00
;; Diffs
2022-08-17 09:14:54 +02:00
(bg-added "#172c0f")
(bg-added-faint "#0a1f00")
(bg-added-refine "#203f10")
2022-08-15 08:25:51 +02:00
2022-08-17 09:14:54 +02:00
(bg-changed "#323200")
(bg-changed-faint "#281a00")
(bg-changed-refine "#484800")
2022-08-15 08:25:51 +02:00
2022-08-17 09:14:54 +02:00
(bg-removed "#46120a")
(bg-removed-faint "#330a00")
(bg-removed-refine "#6a1a16")
2022-08-15 08:25:51 +02:00
;; Special hues
(bg-mode-line "#692a12") (fg-mode-line "#feeeca")
(bg-accent "#ffa200") (fg-accent "#000000")
2022-08-15 08:30:32 +02:00
(bg-completion "#36213a")
2022-08-15 08:25:51 +02:00
(bg-hover "#265f4a")
(bg-hover-alt "#6f345a")
(bg-hl-line "#302a3a")
(bg-region "#3f1020")
(bg-active "#46423f")
2022-08-15 08:29:03 +02:00
(bg-paren "#7f2d40")
2022-08-15 08:25:51 +02:00
(bg-err "#361400") ; check with err
2022-08-17 05:53:50 +02:00
(bg-info "#152800") ; check with info
2022-08-15 08:25:51 +02:00
(border "#54444a")
(cursor "#ffaa33")
(fg-intense "#ffffff")
;; Mappings
(err red-warmer)
2022-08-15 08:25:51 +02:00
(warning yellow-warmer)
(info green-cooler)
2022-08-15 08:25:51 +02:00
(link yellow)
2022-08-15 10:41:20 +02:00
(link-alt red-cooler)
2022-08-15 08:25:51 +02:00
(date yellow-cooler)
(name green-warmer)
(keybind red)
(builtin red-cooler)
(comment yellow-faint)
(constant green-warmer)
(fnname cyan-cooler)
(keyword yellow)
(preprocessor magenta)
(docstring green-faint)
(string red-warmer)
(type green)
(variable cyan-warmer)
(accent-0 green-cooler)
(accent-1 yellow-warmer)
(accent-2 cyan-cooler)
(accent-3 magenta-cooler)
(mail-0 green-warmer)
(mail-1 red)
(mail-2 green-cooler)
(mail-3 yellow-warmer)
(mail-4 red-cooler)
(rainbow-0 yellow-warmer)
(rainbow-1 green-warmer)
(rainbow-2 magenta)
(rainbow-3 blue-warmer)
(rainbow-4 red)
(rainbow-5 green-cooler)
(rainbow-6 magenta-warmer)
(rainbow-7 cyan)
(rainbow-8 yellow))
"The `ef-autumn' palette.")
(ef-themes-theme ef-autumn ef-autumn-palette)
(provide-theme 'ef-autumn))
;;; ef-autumn-theme.el ends here