2022-08-15 08:29:18 +02:00
|
|
|
|
;;; ef-summer-theme.el --- Legible light theme -*- lexical-binding:t -*-
|
2022-08-13 08:06: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 08:06: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 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(eval-and-compile
|
|
|
|
|
(require 'ef-themes)
|
|
|
|
|
|
2022-08-15 08:29:18 +02:00
|
|
|
|
(deftheme ef-summer "Legible light theme.")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
(defconst ef-summer-palette
|
|
|
|
|
'(;; Basic tones
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-main "#fff2f3")
|
2022-08-16 06:24:28 +02:00
|
|
|
|
(fg-main "#5f456f")
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-dim "#fbe3ef")
|
2022-08-16 06:24:28 +02:00
|
|
|
|
(fg-dim "#68717f")
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-alt "#efd0e4")
|
|
|
|
|
(fg-alt "#af506f")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
;; Basic hues for foreground values
|
2022-08-15 15:10:49 +02:00
|
|
|
|
(red "#d3303a")
|
|
|
|
|
(red-warmer "#e00033")
|
|
|
|
|
(red-cooler "#d50f7f")
|
|
|
|
|
(red-faint "#c24552")
|
|
|
|
|
(green "#217a3c")
|
|
|
|
|
(green-warmer "#4a7d00")
|
|
|
|
|
(green-cooler "#007f68")
|
|
|
|
|
(green-faint "#61756c")
|
|
|
|
|
(yellow "#a45f22")
|
|
|
|
|
(yellow-warmer "#b6532f")
|
|
|
|
|
(yellow-cooler "#b65050")
|
|
|
|
|
(yellow-faint "#9a5f6a")
|
|
|
|
|
(blue "#375ce6")
|
|
|
|
|
(blue-warmer "#5250ef")
|
|
|
|
|
(blue-cooler "#065fff")
|
|
|
|
|
(blue-faint "#6060d0")
|
|
|
|
|
(magenta "#ba35af")
|
|
|
|
|
(magenta-warmer "#cb1aaa")
|
|
|
|
|
(magenta-cooler "#7450df")
|
|
|
|
|
(magenta-faint "#bf3580")
|
|
|
|
|
(cyan "#1f6fbf")
|
|
|
|
|
(cyan-warmer "#3f6faf")
|
|
|
|
|
(cyan-cooler "#0f7b8f")
|
|
|
|
|
(cyan-faint "#5f60bf")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
;; Basic hues for background values
|
2022-08-16 00:21:20 +02:00
|
|
|
|
(bg-red "#ff7f88")
|
|
|
|
|
(bg-green "#86df80")
|
|
|
|
|
(bg-yellow "#ffc200")
|
|
|
|
|
(bg-blue "#cbcfff")
|
|
|
|
|
(bg-magenta "#ff9fee")
|
|
|
|
|
(bg-cyan "#88ccff")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
;; Diffs
|
2022-08-17 09:14:54 +02:00
|
|
|
|
(bg-added "#caf4da")
|
|
|
|
|
(bg-added-faint "#dff6ea")
|
|
|
|
|
(bg-added-refine "#bae9cf")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
2022-08-17 09:14:54 +02:00
|
|
|
|
(bg-changed "#ffdfb9")
|
|
|
|
|
(bg-changed-faint "#ffefcb")
|
|
|
|
|
(bg-changed-refine "#ffcfa0")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
2022-08-17 09:14:54 +02:00
|
|
|
|
(bg-removed "#ffcee0")
|
|
|
|
|
(bg-removed-faint "#ffdfe6")
|
|
|
|
|
(bg-removed-refine "#f5b6c8")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
;; Special hues
|
|
|
|
|
(bg-mode-line "#ffa4dc") (fg-mode-line "#341f58")
|
2022-08-14 08:25:46 +02:00
|
|
|
|
(bg-accent "#004f6f") (fg-accent "#ffffff")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
(bg-completion "#f4cfff")
|
|
|
|
|
(bg-hover "#b4cfff")
|
|
|
|
|
(bg-hover-alt "#aaeccf")
|
2022-08-13 15:55:35 +02:00
|
|
|
|
(bg-hl-line "#ffd6e5")
|
2022-08-13 08:06:41 +02:00
|
|
|
|
(bg-region "#eecfff")
|
2022-08-14 06:20:19 +02:00
|
|
|
|
(bg-active "#dfc0d4")
|
2022-08-14 07:59:05 +02:00
|
|
|
|
(bg-paren "#9fc0ef")
|
2022-08-16 14:46:13 +02:00
|
|
|
|
(bg-err "#ffd0e6") ; check with err
|
2022-08-16 14:36:45 +02:00
|
|
|
|
(bg-info "#bbefda") ; check with info
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
(border "#eebfef")
|
|
|
|
|
(cursor "#cf0090")
|
|
|
|
|
(fg-intense "#000000")
|
|
|
|
|
|
|
|
|
|
;; Mappings
|
|
|
|
|
(err red-warmer)
|
2022-08-14 10:00:55 +02:00
|
|
|
|
(warning yellow-warmer)
|
2022-08-16 14:14:14 +02:00
|
|
|
|
(info green-cooler)
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
|
|
|
|
(link blue-warmer)
|
2022-08-13 08:38:39 +02:00
|
|
|
|
(link-alt cyan-warmer)
|
2022-08-16 14:46:23 +02:00
|
|
|
|
(date cyan-cooler)
|
|
|
|
|
(name magenta-warmer)
|
2022-08-13 08:06:41 +02:00
|
|
|
|
(keybind blue-cooler)
|
|
|
|
|
|
|
|
|
|
(builtin magenta)
|
2022-08-14 10:00:55 +02:00
|
|
|
|
(comment yellow-faint)
|
2022-08-13 08:18:37 +02:00
|
|
|
|
(constant red-cooler)
|
2022-08-13 08:06:41 +02:00
|
|
|
|
(fnname magenta-warmer)
|
|
|
|
|
(keyword magenta-cooler)
|
2022-08-13 08:18:37 +02:00
|
|
|
|
(preprocessor green-warmer)
|
2022-08-13 08:06:41 +02:00
|
|
|
|
(docstring cyan-faint)
|
2022-08-14 10:00:55 +02:00
|
|
|
|
(string yellow-warmer)
|
2022-08-13 08:06:41 +02:00
|
|
|
|
(type cyan-warmer)
|
|
|
|
|
(variable blue-warmer)
|
|
|
|
|
|
2022-08-14 13:14:46 +02:00
|
|
|
|
(accent-0 magenta-cooler)
|
|
|
|
|
(accent-1 yellow)
|
|
|
|
|
(accent-2 cyan-cooler)
|
|
|
|
|
(accent-3 red)
|
2022-08-13 08:06:41 +02:00
|
|
|
|
|
2022-08-14 10:00:55 +02:00
|
|
|
|
(mail-0 yellow-cooler)
|
|
|
|
|
(mail-1 cyan-cooler)
|
|
|
|
|
(mail-2 magenta-warmer)
|
|
|
|
|
(mail-3 blue-warmer)
|
|
|
|
|
(mail-4 magenta-cooler)
|
|
|
|
|
|
|
|
|
|
(rainbow-0 magenta-warmer)
|
2022-08-16 14:14:43 +02:00
|
|
|
|
(rainbow-1 magenta-cooler)
|
|
|
|
|
(rainbow-2 yellow)
|
|
|
|
|
(rainbow-3 cyan-cooler)
|
|
|
|
|
(rainbow-4 magenta)
|
|
|
|
|
(rainbow-5 blue-warmer)
|
|
|
|
|
(rainbow-6 red-warmer)
|
|
|
|
|
(rainbow-7 cyan)
|
|
|
|
|
(rainbow-8 yellow-cooler))
|
2022-08-13 08:06:41 +02:00
|
|
|
|
"The `ef-summer' palette.")
|
|
|
|
|
|
|
|
|
|
(ef-themes-theme ef-summer ef-summer-palette)
|
|
|
|
|
|
|
|
|
|
(provide-theme 'ef-summer))
|
|
|
|
|
|
|
|
|
|
;;; ef-summer-theme.el ends here
|