2022-08-14 06:28:31 +02:00
|
|
|
|
;;; ef-night-theme.el --- Dark theme with a warm, colorful palette -*- 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.0.0
|
|
|
|
|
;; 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:
|
|
|
|
|
;;
|
|
|
|
|
;; Work-in-progress.
|
|
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(eval-and-compile
|
|
|
|
|
(require 'ef-themes)
|
|
|
|
|
|
|
|
|
|
(deftheme ef-night "Dark theme with a warm and pleasant palette.")
|
|
|
|
|
|
|
|
|
|
(defconst ef-night-palette
|
|
|
|
|
'(;; Basic tones
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(bg-main "#000e17") (fg-main "#afbcbf")
|
2022-08-14 20:03:56 +02:00
|
|
|
|
(bg-dim "#0f1b29") (fg-dim "#70857f")
|
|
|
|
|
(bg-alt "#1a2a2f") (fg-alt "#70a89f")
|
2022-08-14 06:28:31 +02:00
|
|
|
|
|
|
|
|
|
;; Basic hues for foreground values
|
|
|
|
|
(red "#ef656a") (green "#0faa26")
|
|
|
|
|
(red-warmer "#f47360") (green-warmer "#50a22f")
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(red-cooler "#ef798f") (green-cooler "#00b672")
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(red-faint "#d56f72") (green-faint "#61a06c")
|
|
|
|
|
(yellow "#c48502") (blue "#379cf6")
|
|
|
|
|
(yellow-warmer "#e6832f") (blue-warmer "#6a90ff")
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(yellow-cooler "#df8f6f") (blue-cooler "#029fff")
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(yellow-faint "#cf9f7f") (blue-faint "#7a94df")
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(magenta "#d570af") (cyan "#4fb0cf")
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(magenta-warmer "#e580ea") (cyan-warmer "#6fafff")
|
2022-08-14 06:42:51 +02:00
|
|
|
|
(magenta-cooler "#a587ff") (cyan-cooler "#3dc0b0")
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(magenta-faint "#c59faf") (cyan-faint "#92b4df")
|
2022-08-14 06:28:31 +02:00
|
|
|
|
|
|
|
|
|
;; Basic hues for background values
|
|
|
|
|
(bg-red "#cd2f30") (bg-green "#20a020")
|
|
|
|
|
(bg-yellow "#a05f00") (bg-blue "#2f38af")
|
|
|
|
|
(bg-magenta "#c040cf") (bg-cyan "#027080")
|
|
|
|
|
|
|
|
|
|
;; Diffs
|
|
|
|
|
(bg-added "#003a2f")
|
|
|
|
|
(bg-added-faint "#002f28")
|
|
|
|
|
(bg-added-refine "#005a4f")
|
|
|
|
|
|
|
|
|
|
(bg-changed "#424200")
|
|
|
|
|
(bg-changed-faint "#2a2000")
|
|
|
|
|
(bg-changed-refine "#585800")
|
|
|
|
|
|
|
|
|
|
(bg-removed "#55142a")
|
|
|
|
|
(bg-removed-faint "#3a111f")
|
|
|
|
|
(bg-removed-refine "#701836")
|
|
|
|
|
|
|
|
|
|
;; Special hues
|
2022-08-14 20:07:52 +02:00
|
|
|
|
(bg-mode-line "#003a7f") (fg-mode-line "#ceeeff")
|
2022-08-14 08:25:46 +02:00
|
|
|
|
(bg-accent "#ff9270") (fg-accent "#000000")
|
2022-08-14 06:44:19 +02:00
|
|
|
|
(bg-completion "#00314f")
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(bg-hover "#6f345a")
|
|
|
|
|
(bg-hover-alt "#664f4a")
|
|
|
|
|
(bg-hl-line "#002255")
|
|
|
|
|
(bg-region "#222f40")
|
|
|
|
|
(bg-active "#28353f")
|
2022-08-14 18:27:19 +02:00
|
|
|
|
(bg-paren "#703350")
|
2022-08-14 09:29:07 +02:00
|
|
|
|
(bg-err "#33140f") ; check with err
|
|
|
|
|
(bg-info "#00290f") ; check with info
|
2022-08-14 06:28:31 +02:00
|
|
|
|
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(border "#34445a")
|
|
|
|
|
(cursor "#44aaff")
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(fg-intense "#ffffff")
|
|
|
|
|
|
|
|
|
|
;; Mappings
|
|
|
|
|
(err red-warmer)
|
2022-08-14 06:43:13 +02:00
|
|
|
|
(warning yellow-warmer)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(info green)
|
|
|
|
|
|
2022-08-14 16:46:41 +02:00
|
|
|
|
(link cyan)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(link-alt yellow)
|
|
|
|
|
(date cyan-cooler)
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(name blue-warmer)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(keybind blue-cooler)
|
|
|
|
|
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(builtin cyan)
|
|
|
|
|
(comment cyan-faint)
|
|
|
|
|
(constant yellow-cooler)
|
|
|
|
|
(fnname magenta)
|
|
|
|
|
(keyword magenta-cooler)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(preprocessor red-warmer)
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(docstring magenta-faint)
|
|
|
|
|
(string blue-cooler)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
(type blue-warmer)
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(variable green-cooler)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
|
2022-08-14 20:01:59 +02:00
|
|
|
|
(accent-0 cyan-cooler)
|
|
|
|
|
(accent-1 red-cooler)
|
|
|
|
|
(accent-2 magenta-cooler)
|
|
|
|
|
(accent-3 yellow-cooler)
|
2022-08-14 06:28:31 +02:00
|
|
|
|
|
|
|
|
|
(mail-0 cyan)
|
|
|
|
|
(mail-1 magenta)
|
|
|
|
|
(mail-2 green-cooler)
|
|
|
|
|
(mail-3 yellow-cooler)
|
|
|
|
|
(mail-4 magenta-cooler)
|
|
|
|
|
|
|
|
|
|
(rainbow-0 red-cooler)
|
|
|
|
|
(rainbow-1 magenta-cooler)
|
|
|
|
|
(rainbow-2 green-cooler)
|
|
|
|
|
(rainbow-3 magenta-warmer)
|
|
|
|
|
(rainbow-4 cyan)
|
|
|
|
|
(rainbow-5 yellow)
|
|
|
|
|
(rainbow-6 green)
|
|
|
|
|
(rainbow-7 blue-warmer)
|
|
|
|
|
(rainbow-8 yellow-cooler))
|
|
|
|
|
"The `ef-night' palette.")
|
|
|
|
|
|
|
|
|
|
(ef-themes-theme ef-night ef-night-palette)
|
|
|
|
|
|
|
|
|
|
(provide-theme 'ef-night))
|
|
|
|
|
|
|
|
|
|
;;; ef-night-theme.el ends here
|