2022-08-15 08:29:18 +02:00
|
|
|
|
;;; ef-day-theme.el --- Legible light theme -*- lexical-binding:t -*-
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
;; 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
|
2022-08-17 11:27:59 +02:00
|
|
|
|
;; Version: 0.1.0
|
2022-08-13 19:08:41 +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-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(eval-and-compile
|
|
|
|
|
(require 'ef-themes)
|
|
|
|
|
|
2022-08-15 08:29:18 +02:00
|
|
|
|
(deftheme ef-day "Legible light theme.")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
(defconst ef-day-palette
|
|
|
|
|
'(;; Basic tones
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-main "#fff5ea")
|
2022-08-16 06:38:35 +02:00
|
|
|
|
(fg-main "#584141")
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-dim "#f5eddf")
|
2022-08-16 06:15:20 +02:00
|
|
|
|
(fg-dim "#63728f")
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-alt "#e9e0d8")
|
2022-08-16 06:27:09 +02:00
|
|
|
|
(fg-alt "#8f5f4a")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
;; Basic hues for foreground values
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(red "#ba2d2f")
|
2022-08-17 11:08:42 +02:00
|
|
|
|
(red-warmer "#ce3f00")
|
2022-08-15 15:10:49 +02:00
|
|
|
|
(red-cooler "#cf2f4f")
|
|
|
|
|
(red-faint "#b05350")
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(green "#2a7a0c")
|
|
|
|
|
(green-warmer "#437000")
|
|
|
|
|
(green-cooler "#0f7f5f")
|
2022-08-15 15:10:49 +02:00
|
|
|
|
(green-faint "#61756c")
|
2022-08-17 10:07:56 +02:00
|
|
|
|
(yellow "#a45a22")
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(yellow-warmer "#b75515")
|
|
|
|
|
(yellow-cooler "#aa4f30")
|
2022-08-15 15:10:49 +02:00
|
|
|
|
(yellow-faint "#a05f5a")
|
|
|
|
|
(blue "#375cc6")
|
|
|
|
|
(blue-warmer "#5f5fdf")
|
|
|
|
|
(blue-cooler "#265fbf")
|
2022-08-17 05:36:16 +02:00
|
|
|
|
(blue-faint "#4a659f")
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(magenta "#ca3e54")
|
|
|
|
|
(magenta-warmer "#cb2f80")
|
|
|
|
|
(magenta-cooler "#8448aa")
|
2022-08-15 15:10:49 +02:00
|
|
|
|
(magenta-faint "#a04450")
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(cyan "#3f60af")
|
2022-08-15 15:10:49 +02:00
|
|
|
|
(cyan-warmer "#3f6faf")
|
|
|
|
|
(cyan-cooler "#0f7b8f")
|
2022-08-17 05:36:23 +02:00
|
|
|
|
(cyan-faint "#4f6f8f")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
;; Basic hues for background values
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-red "#ff8f88")
|
|
|
|
|
(bg-green "#96df80")
|
|
|
|
|
(bg-yellow "#efbf00")
|
|
|
|
|
(bg-blue "#cfceff")
|
|
|
|
|
(bg-magenta "#ff9fee")
|
|
|
|
|
(bg-cyan "#88cfd0")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
;; Diffs
|
2022-08-17 09:14:54 +02:00
|
|
|
|
(bg-added "#d6efd2")
|
|
|
|
|
(bg-added-faint "#e5f5e0")
|
|
|
|
|
(bg-added-refine "#c8e3c0")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
2022-08-17 09:14:54 +02:00
|
|
|
|
(bg-changed "#ffe5b9")
|
|
|
|
|
(bg-changed-faint "#ffefc5")
|
|
|
|
|
(bg-changed-refine "#ffd09f")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
2022-08-17 09:14:54 +02:00
|
|
|
|
(bg-removed "#ffd8d8")
|
|
|
|
|
(bg-removed-faint "#ffe5e5")
|
|
|
|
|
(bg-removed-refine "#ffc0b0")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
;; Special hues
|
2022-08-17 08:03:17 +02:00
|
|
|
|
(bg-mode-line "#ffaf72") (fg-mode-line "#542f38")
|
2022-08-14 08:25:46 +02:00
|
|
|
|
(bg-accent "#106246") (fg-accent "#ffffff")
|
2022-08-13 21:51:24 +02:00
|
|
|
|
(bg-completion "#ffd5d3")
|
2022-08-13 19:09:25 +02:00
|
|
|
|
(bg-hover "#b0e0df")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
(bg-hover-alt "#febcaf")
|
2022-08-16 06:41:27 +02:00
|
|
|
|
(bg-hl-line "#f9e2b2")
|
2022-08-16 06:41:37 +02:00
|
|
|
|
(bg-region "#f0d2df")
|
2022-08-14 06:20:19 +02:00
|
|
|
|
(bg-active "#d9d0c8")
|
2022-08-14 07:59:05 +02:00
|
|
|
|
(bg-paren "#8fcfdf")
|
2022-08-14 09:29:07 +02:00
|
|
|
|
(bg-err "#ffddee") ; check with err
|
|
|
|
|
(bg-info "#ddf5cc") ; check with info
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
|
|
|
|
(border "#ded0bb")
|
2022-08-17 11:08:30 +02:00
|
|
|
|
(cursor "#b00f00")
|
2022-08-13 19:08:41 +02:00
|
|
|
|
(fg-intense "#000000")
|
|
|
|
|
|
|
|
|
|
;; Mappings
|
|
|
|
|
(err red-warmer)
|
2022-08-14 06:42:31 +02:00
|
|
|
|
(warning yellow-warmer)
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(info green-warmer)
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
2022-08-17 10:04:33 +02:00
|
|
|
|
(link red)
|
|
|
|
|
(link-alt green-warmer)
|
2022-08-17 11:14:30 +02:00
|
|
|
|
(date cyan-warmer)
|
|
|
|
|
(name yellow)
|
2022-08-13 19:08:41 +02:00
|
|
|
|
(keybind red-cooler)
|
|
|
|
|
|
2022-08-17 11:23:55 +02:00
|
|
|
|
(builtin red-cooler)
|
|
|
|
|
(comment green-faint)
|
|
|
|
|
(constant red-warmer)
|
|
|
|
|
(fnname magenta)
|
2022-08-17 11:03:09 +02:00
|
|
|
|
(keyword yellow)
|
2022-08-17 11:23:55 +02:00
|
|
|
|
(preprocessor cyan-warmer)
|
|
|
|
|
(docstring yellow-faint)
|
|
|
|
|
(string green-warmer)
|
|
|
|
|
(type green-cooler)
|
|
|
|
|
(variable magenta-cooler)
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
2022-08-17 11:14:30 +02:00
|
|
|
|
(accent-0 red)
|
|
|
|
|
(accent-1 green-cooler)
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(accent-2 yellow)
|
2022-08-17 11:27:36 +02:00
|
|
|
|
(accent-3 magenta-warmer)
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(mail-0 red)
|
2022-08-17 11:27:36 +02:00
|
|
|
|
(mail-1 green)
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(mail-2 yellow)
|
|
|
|
|
(mail-3 green-cooler)
|
|
|
|
|
(mail-4 yellow-cooler)
|
2022-08-13 19:08:41 +02:00
|
|
|
|
|
2022-08-17 10:57:15 +02:00
|
|
|
|
(rainbow-0 yellow)
|
|
|
|
|
(rainbow-1 red)
|
|
|
|
|
(rainbow-2 green-warmer)
|
|
|
|
|
(rainbow-3 magenta-warmer)
|
|
|
|
|
(rainbow-4 cyan)
|
|
|
|
|
(rainbow-5 yellow-cooler)
|
|
|
|
|
(rainbow-6 magenta-cooler)
|
|
|
|
|
(rainbow-7 red-cooler)
|
2022-08-17 10:53:09 +02:00
|
|
|
|
(rainbow-8 green-cooler))
|
2022-08-13 19:08:41 +02:00
|
|
|
|
"The `ef-day' palette.")
|
|
|
|
|
|
|
|
|
|
(ef-themes-theme ef-day ef-day-palette)
|
|
|
|
|
|
|
|
|
|
(provide-theme 'ef-day))
|
|
|
|
|
|
|
|
|
|
;;; ef-day-theme.el ends here
|