[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes 69455a3038: Add ef-cherie theme
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes 69455a3038: Add ef-cherie theme |
Date: |
Tue, 25 Oct 2022 00:57:47 -0400 (EDT) |
branch: externals/ef-themes
commit 69455a30385ecd5da766517d7081825fab202773
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add ef-cherie theme
Read the announcement, which also includes pictures:
<https://protesilaos.com/codelog/2022-10-25-ef-cherie/>.
---
contrast-ratios.org | 65 +++++++++++++++++
ef-cherie-theme.el | 200 ++++++++++++++++++++++++++++++++++++++++++++++++++++
ef-themes.el | 1 +
3 files changed, 266 insertions(+)
diff --git a/contrast-ratios.org b/contrast-ratios.org
index cc9882a623..e62d0dd6d6 100644
--- a/contrast-ratios.org
+++ b/contrast-ratios.org
@@ -164,6 +164,71 @@ C1 and C2 are color values written in hexadecimal RGB."
| #303230 | 9232 | 1.46 |
#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+* ef-cherie
+:PROPERTIES:
+:CUSTOM_ID: h:4c9fdb25-3dd3-443c-915d-db5cd995c6f7
+:END:
+
+** Base colours
+:PROPERTIES:
+:CUSTOM_ID: h:2a58ddd5-05ff-4aab-b2e4-c5e6b4ad4749
+:END:
+
+| Name | | #190a0f | #291f26 | #392a2f | #1e1216 |
+|----------------+---------+---------+---------+---------+---------|
+| fg-main | #d3cfcf | 12.45 | 10.31 | 8.79 | 11.79 |
+| fg-dim | #80889f | 5.44 | 4.51 | 3.84 | 5.15 |
+| fg-alt | #bf9cdf | 8.28 | 6.85 | 5.84 | 7.84 |
+| red | #ff7359 | 7.19 | 5.95 | 5.08 | 6.81 |
+| red-warmer | #ff656f | 6.73 | 5.57 | 4.75 | 6.37 |
+| red-cooler | #ff78aa | 7.80 | 6.46 | 5.51 | 7.39 |
+| red-faint | #e47f72 | 6.94 | 5.75 | 4.90 | 6.57 |
+| green | #60b444 | 7.43 | 6.15 | 5.24 | 7.03 |
+| green-warmer | #80b25f | 7.74 | 6.41 | 5.47 | 7.33 |
+| green-cooler | #60bf88 | 8.52 | 7.06 | 6.02 | 8.07 |
+| green-faint | #61a06c | 6.19 | 5.12 | 4.37 | 5.86 |
+| yellow | #d59c6f | 8.07 | 6.69 | 5.70 | 7.64 |
+| yellow-warmer | #ea9955 | 8.41 | 6.97 | 5.94 | 7.97 |
+| yellow-cooler | #f59280 | 8.52 | 7.06 | 6.02 | 8.07 |
+| yellow-faint | #bf9f8f | 7.85 | 6.50 | 5.54 | 7.43 |
+| blue | #8fa5f6 | 8.14 | 6.74 | 5.74 | 7.70 |
+| blue-warmer | #a897ef | 7.64 | 6.32 | 5.39 | 7.23 |
+| blue-cooler | #7fa5ff | 8.00 | 6.62 | 5.65 | 7.57 |
+| blue-faint | #7f9ab4 | 6.58 | 5.45 | 4.65 | 6.23 |
+| magenta | #ef80bf | 7.80 | 6.46 | 5.50 | 7.38 |
+| magenta-warmer | #f470df | 7.54 | 6.24 | 5.32 | 7.14 |
+| magenta-cooler | #df7fff | 7.89 | 6.54 | 5.57 | 7.47 |
+| magenta-faint | #cc9bcf | 8.39 | 6.95 | 5.92 | 7.94 |
+| cyan | #8fbaef | 9.56 | 7.92 | 6.75 | 9.05 |
+| cyan-warmer | #9ac0e4 | 10.11 | 8.37 | 7.14 | 9.57 |
+| cyan-cooler | #8fcfdf | 11.14 | 9.22 | 7.86 | 10.54 |
+| cyan-faint | #aac0cf | 10.21 | 8.46 | 7.21 | 9.67 |
+#+TBLFM: $3='(Λ $2 @1$3);%.2f :: $4='(Λ $2 @1$4);%.2f :: $5='(Λ $2 @1$5);%.2f
:: $6='(Λ $2 @1$6);%.2f
+
+** Special colours against the modeline
+:PROPERTIES:
+:CUSTOM_ID: h:e7fd919a-baa5-40c4-874d-12f3ed264d13
+:END:
+
+| Name | | #771a4f |
+|------------------+---------+---------|
+| modeline-err | #ff9f1f | 5.00 |
+| modeline-warning | #c0bf30 | 5.25 |
+| modeline-info | #6fefaf | 7.16 |
+#+TBLFM: $3='(Λ $2 @1$3);%.2f
+
+** Distance and contrast between main backgrounds
+:PROPERTIES:
+:CUSTOM_ID: h:0ba6044d-7ef0-4f99-a61b-908d5ef32e59
+:END:
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #190a0f | distance | contrast |
+|---------+----------+----------|
+| #291f26 | 3857 | 1.21 |
+| #392a2f | 9288 | 1.42 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-cyprus
:PROPERTIES:
:CUSTOM_ID: h:029a92c2-e4f5-4457-9eec-8a89dea471f4
diff --git a/ef-cherie-theme.el b/ef-cherie-theme.el
new file mode 100644
index 0000000000..0a48c23af1
--- /dev/null
+++ b/ef-cherie-theme.el
@@ -0,0 +1,200 @@
+;;; ef-cherie-theme.el --- Legible dark theme with warm colors (mostly pink,
magenta, gold) -*- 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
+;; 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:
+;;
+;; 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).
+
+;;; Code:
+
+
+
+(eval-and-compile
+ (require 'ef-themes)
+
+ (deftheme ef-cherie "Legible dark theme with warm colors (mostly pink,
magenta, gold)")
+
+ (defconst ef-cherie-palette
+ '(;; Basic tones
+ (bg-main "#190a0f")
+ (fg-main "#d3cfcf")
+ (bg-dim "#291f26")
+ (fg-dim "#80889f")
+ (bg-alt "#392a2f")
+ (fg-alt "#bf9cdf")
+
+ (bg-active "#493a3f")
+ (bg-inactive "#1e1216")
+
+ ;; Basic hues for foreground values
+ (red "#ff7359")
+ (red-warmer "#ff656f")
+ (red-cooler "#ff78aa")
+ (red-faint "#e47f72")
+ (green "#60b444")
+ (green-warmer "#80b25f")
+ (green-cooler "#60bf88")
+ (green-faint "#61a06c")
+ (yellow "#d59c6f")
+ (yellow-warmer "#ea9955")
+ (yellow-cooler "#f59280")
+ (yellow-faint "#bf9f8f")
+ (blue "#8fa5f6")
+ (blue-warmer "#a897ef")
+ (blue-cooler "#7fa5ff")
+ (blue-faint "#7f9ab4")
+ (magenta "#ef80bf")
+ (magenta-warmer "#f470df")
+ (magenta-cooler "#df7fff")
+ (magenta-faint "#cc9bcf")
+ (cyan "#8fbaef")
+ (cyan-warmer "#9ac0e4")
+ (cyan-cooler "#8fcfdf")
+ (cyan-faint "#aac0cf")
+
+ ;; Basic hues for background values
+ (bg-red "#bd1f30")
+ (bg-green "#20a020")
+ (bg-yellow "#845020")
+ (bg-blue "#3633b0")
+ (bg-magenta "#b04fcf")
+ (bg-cyan "#2270be")
+
+ (bg-red-subtle "#6a002a")
+ (bg-green-subtle "#00422a")
+ (bg-yellow-subtle "#5a3000")
+ (bg-blue-subtle "#242679")
+ (bg-magenta-subtle "#50105a")
+ (bg-cyan-subtle "#004065")
+
+ ;; Diffs
+ (bg-added "#00301f")
+ (bg-added-faint "#002110")
+ (bg-added-refine "#03462f")
+
+ (bg-changed "#323200")
+ (bg-changed-faint "#281a00")
+ (bg-changed-refine "#484800")
+
+ (bg-removed "#4a1119")
+ (bg-removed-faint "#320a0f")
+ (bg-removed-refine "#751a1f")
+
+ ;; Graphs
+ (red-graph-0-bg "#b52c2c")
+ (red-graph-1-bg "#702020")
+ (green-graph-0-bg "#4fd100")
+ (green-graph-1-bg "#007800")
+ (yellow-graph-0-bg "#f1e00a")
+ (yellow-graph-1-bg "#b08600")
+ (blue-graph-0-bg "#2fafef")
+ (blue-graph-1-bg "#1f2f8f")
+ (magenta-graph-0-bg "#bf94fe")
+ (magenta-graph-1-bg "#5f509f")
+ (cyan-graph-0-bg "#47dfea")
+ (cyan-graph-1-bg "#00808f")
+
+ ;; Special hues
+ (bg-mode-line "#771a4f") (fg-mode-line "#ffcfdf")
+ (bg-accent "#cca8ff") (fg-accent "#000000")
+ (bg-completion "#4a1937")
+ (bg-hover "#303f6f")
+ (bg-hover-alt "#66364f")
+ (bg-hl-line "#401f33")
+ (bg-region "#232f3f")
+ (bg-paren "#3f5f75")
+ (bg-err "#370f12") ; check with err
+ (bg-warning "#352905") ; check with warning
+ (bg-info "#1c2b00") ; check with info
+
+ (border "#6f5760")
+ (cursor "#ff5aaf")
+ (fg-intense "#ffffff")
+
+ (modeline-err "#ff9f1f")
+ (modeline-warning "#c0bf30")
+ (modeline-info "#6fefaf")
+
+ (underline-err "#df2f2f")
+ (underline-warning "#c0b000")
+ (underline-info "#22b022")
+
+ ;; Mappings
+ (err red-warmer)
+ (warning yellow-warmer)
+ (info green)
+
+ (link magenta-cooler)
+ (link-alt yellow)
+ (date magenta)
+ (name yellow-cooler)
+ (keybind yellow-warmer)
+ (prompt magenta-warmer)
+
+ (builtin blue-warmer)
+ (comment yellow-faint)
+ (constant red-cooler)
+ (fnname yellow-cooler)
+ (keyword magenta)
+ (preprocessor cyan)
+ (docstring magenta-faint)
+ (string yellow)
+ (type magenta-warmer)
+ (variable magenta-cooler)
+
+ (rx-escape cyan-warmer) ; compare with `string'
+ (rx-construct red)
+
+ (accent-0 magenta-warmer)
+ (accent-1 yellow)
+ (accent-2 blue-warmer)
+ (accent-3 red)
+
+ (mail-0 magenta)
+ (mail-1 yellow)
+ (mail-2 blue-warmer)
+ (mail-3 magenta-warmer)
+ (mail-4 magenta-cooler)
+ (mail-5 green-warmer)
+
+ (rainbow-0 magenta-warmer)
+ (rainbow-1 yellow)
+ (rainbow-2 magenta)
+ (rainbow-3 cyan)
+ (rainbow-4 yellow-cooler)
+ (rainbow-5 blue-warmer)
+ (rainbow-6 red-cooler)
+ (rainbow-7 cyan-warmer)
+ (rainbow-8 magenta-cooler))
+ "The `ef-cherie' palette.")
+
+ (ef-themes-theme ef-cherie ef-cherie-palette)
+
+ (provide-theme 'ef-cherie))
+
+;;; ef-cherie-theme.el ends here
diff --git a/ef-themes.el b/ef-themes.el
index 8784ed59cf..94f9eafa44 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -72,6 +72,7 @@
(defconst ef-themes-dark-themes
'(ef-autumn
ef-bio
+ ef-cherie
ef-dark
ef-deuteranopia-dark
ef-duo-dark
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/ef-themes 69455a3038: Add ef-cherie theme,
ELPA Syncer <=