emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ef-themes 3342a89892: Add ef-frost theme


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 3342a89892: Add ef-frost theme
Date: Mon, 3 Oct 2022 07:57:46 -0400 (EDT)

branch: externals/ef-themes
commit 3342a89892bc1a9af81e95e5f26dd3bbb5380148
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add ef-frost theme
    
    The announcement on my website provides sample screenshots:
    <https://protesilaos.com/codelog/2022-10-03-ef-themes-frost-theme/>.
    
    Enjoy!
---
 contrast-ratios.org |  65 +++++++++++++++++
 ef-frost-theme.el   | 196 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 261 insertions(+)

diff --git a/contrast-ratios.org b/contrast-ratios.org
index 4dae84918f..e93805f1ae 100644
--- a/contrast-ratios.org
+++ b/contrast-ratios.org
@@ -573,6 +573,71 @@ work with the overall design of the project.
 | #e7e0da |     5034 |     1.24 |
 #+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
 
+* ef-frost
+:PROPERTIES:
+:CUSTOM_ID: h:3e0fd298-d1b7-4b31-84e9-73f2493944a1
+:END:
+
+** Base colours
+:PROPERTIES:
+:CUSTOM_ID: h:043da298-8374-461c-80f0-648b81be0920
+:END:
+
+| Name           |         | #fcffff | #eaefef | #d7dbdb | #f7f9f9 |
+|----------------+---------+---------+---------+---------+---------|
+| fg-main        | #232323 |   15.63 |   13.54 |   11.26 |   14.87 |
+| fg-dim         | #66657f |    5.60 |    4.85 |    4.03 |    5.32 |
+| fg-alt         | #204f9a |    7.89 |    6.84 |    5.68 |    7.51 |
+| red            | #c42d2f |    5.55 |    4.81 |    4.00 |    5.28 |
+| red-warmer     | #d03003 |    5.09 |    4.41 |    3.66 |    4.84 |
+| red-cooler     | #cf2f4f |    5.01 |    4.34 |    3.61 |    4.76 |
+| red-faint      | #9a4366 |    6.20 |    5.37 |    4.47 |    5.90 |
+| green          | #008a00 |    4.51 |    3.90 |    3.25 |    4.29 |
+| green-warmer   | #468400 |    4.58 |    3.97 |    3.30 |    4.36 |
+| green-cooler   | #00845f |    4.68 |    4.05 |    3.37 |    4.45 |
+| green-faint    | #51753c |    5.28 |    4.57 |    3.80 |    5.02 |
+| yellow         | #aa6100 |    4.73 |    4.09 |    3.40 |    4.50 |
+| yellow-warmer  | #b6532f |    4.89 |    4.24 |    3.53 |    4.66 |
+| yellow-cooler  | #996c4f |    4.53 |    3.92 |    3.26 |    4.31 |
+| yellow-faint   | #804f4f |    6.63 |    5.74 |    4.78 |    6.31 |
+| blue           | #004fc0 |    7.25 |    6.28 |    5.22 |    6.90 |
+| blue-warmer    | #4244ef |    6.32 |    5.47 |    4.55 |    6.01 |
+| blue-cooler    | #065fff |    5.11 |    4.42 |    3.68 |    4.86 |
+| blue-faint     | #375cc8 |    5.92 |    5.13 |    4.27 |    5.63 |
+| magenta        | #aa44c5 |    4.81 |    4.17 |    3.46 |    4.58 |
+| magenta-warmer | #c0469a |    4.56 |    3.95 |    3.28 |    4.34 |
+| magenta-cooler | #7f5ae0 |    4.70 |    4.07 |    3.39 |    4.47 |
+| magenta-faint  | #605f9f |    5.75 |    4.98 |    4.14 |    5.47 |
+| cyan           | #1f6fbf |    5.11 |    4.43 |    3.68 |    4.87 |
+| cyan-warmer    | #3a6dd2 |    4.86 |    4.21 |    3.50 |    4.62 |
+| cyan-cooler    | #007a85 |    5.07 |    4.39 |    3.65 |    4.82 |
+| cyan-faint     | #305f9f |    6.40 |    5.54 |    4.61 |    6.09 |
+#+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:35e77363-0db4-45ab-a273-e3603a110a68
+:END:
+
+| Name             |         | #9ad0ff |
+|------------------+---------+---------|
+| modeline-err     | #a00000 |    5.15 |
+| modeline-warning | #7f1090 |    5.40 |
+| modeline-info    | #0000af |    7.93 |
+#+TBLFM: $3='(Λ $2 @1$3);%.2f
+
+** Distance and contrast between main backgrounds
+:PROPERTIES:
+:CUSTOM_ID: h:c4fc6cdc-7c04-4fe1-a2a4-a40d0b227719
+:END:
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #fcffff | distance | contrast |
+|---------+----------+----------|
+| #eaefef |     2524 |     1.15 |
+| #d7dbdb |    11969 |     1.39 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
 * ef-light
 :PROPERTIES:
 :CUSTOM_ID: h:02d01731-b9ab-4653-9e71-ab1592c64734
diff --git a/ef-frost-theme.el b/ef-frost-theme.el
new file mode 100644
index 0000000000..00935670aa
--- /dev/null
+++ b/ef-frost-theme.el
@@ -0,0 +1,196 @@
+;;; ef-frost-theme.el --- Legible light theme with blue, cyan, teal, purple 
colors -*- 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-frost "Legible light theme with blue, cyan, teal, purple 
colors.")
+
+  (defconst ef-frost-palette
+    '(;; Basic tones
+      (bg-main     "#fcffff")
+      (fg-main     "#232323")
+      (bg-dim      "#eaefef")
+      (fg-dim      "#66657f")
+      (bg-alt      "#d7dbdb")
+      (fg-alt      "#204f9a")
+
+      (bg-active   "#c7cbcb")
+      (bg-inactive "#f7f9f9")
+
+      ;; Basic hues for foreground values
+      (red             "#c42d2f")
+      (red-warmer      "#d03003")
+      (red-cooler      "#cf2f4f")
+      (red-faint       "#9a4366")
+      (green           "#008a00")
+      (green-warmer    "#468400")
+      (green-cooler    "#00845f")
+      (green-faint     "#517f3c")
+      (yellow          "#aa6100")
+      (yellow-warmer   "#b6532f")
+      (yellow-cooler   "#996c4f")
+      (yellow-faint    "#804f4f")
+      (blue            "#004fc0")
+      (blue-warmer     "#4244ef")
+      (blue-cooler     "#065fff")
+      (blue-faint      "#375cc8")
+      (magenta         "#aa44c5")
+      (magenta-warmer  "#c0469a")
+      (magenta-cooler  "#7f5ae0")
+      (magenta-faint   "#605f9f")
+      (cyan            "#1f6fbf")
+      (cyan-warmer     "#3a6dd2")
+      (cyan-cooler     "#007a85")
+      (cyan-faint      "#305f9f")
+
+      ;; Basic hues for background values
+      (bg-red      "#ff8f88")
+      (bg-green    "#8adf80")
+      (bg-yellow   "#fac200")
+      (bg-blue     "#cbcfff")
+      (bg-magenta  "#df8fff")
+      (bg-cyan     "#88c8ff")
+
+      (bg-red-subtle      "#ffcfbf")
+      (bg-green-subtle    "#b3fabf")
+      (bg-yellow-subtle   "#fff576")
+      (bg-blue-subtle     "#ccdfff")
+      (bg-magenta-subtle  "#ffddff")
+      (bg-cyan-subtle     "#bfefff")
+
+      ;; Diffs
+      (bg-added          "#c9ffea")
+      (bg-added-faint    "#d0ffef")
+      (bg-added-refine   "#b3efdf")
+
+      (bg-changed        "#ffe0b9")
+      (bg-changed-faint  "#ffefcb")
+      (bg-changed-refine "#ffcf9f")
+
+      (bg-removed        "#ffe4dd")
+      (bg-removed-faint  "#ffefea")
+      (bg-removed-refine "#ffcdc0")
+
+      ;; Graphs
+      (red-graph-0-bg     "#ef7969")
+      (red-graph-1-bg     "#ffaab4")
+      (green-graph-0-bg   "#4faa09")
+      (green-graph-1-bg   "#8fef00")
+      (yellow-graph-0-bg  "#ffcf00")
+      (yellow-graph-1-bg  "#f9ff00")
+      (blue-graph-0-bg    "#7090ff")
+      (blue-graph-1-bg    "#9fc6ff")
+      (magenta-graph-0-bg "#e07fff")
+      (magenta-graph-1-bg "#fad0ff")
+      (cyan-graph-0-bg    "#70d3f0")
+      (cyan-graph-1-bg    "#afefff")
+
+      ;; Special hues
+      (bg-mode-line  "#9ad0ff") (fg-mode-line  "#051524")
+      (bg-accent     "#0000d0") (fg-accent     "#ffffff")
+      (bg-completion "#cceff5")
+      (bg-hover      "#cab5ff")
+      (bg-hover-alt  "#9ae0bf")
+      (bg-hl-line    "#dff6e4")
+      (bg-region     "#d4eaf3")
+      (bg-paren      "#cab0ef")
+      (bg-err        "#ffdfda") ; check with err
+      (bg-warning    "#ffe9bf") ; check with warning
+      (bg-info       "#ccefcf") ; check with info
+
+      (border        "#b0b7c0")
+      (cursor        "#0055bb")
+      (fg-intense    "#000000")
+
+      (modeline-err     "#a00000")
+      (modeline-warning "#7f1090")
+      (modeline-info    "#0000af")
+
+      ;; Mappings
+      (err red)
+      (warning yellow-cooler)
+      (info green)
+
+      (link blue)
+      (link-alt magenta)
+      (date cyan-cooler)
+      (name cyan-warmer)
+      (keybind magenta-cooler)
+      (prompt blue)
+
+      (builtin cyan)
+      (comment yellow-faint)
+      (constant blue-cooler)
+      (fnname green-cooler)
+      (keyword blue)
+      (preprocessor magenta)
+      (docstring magenta-faint)
+      (string blue-warmer)
+      (type magenta-cooler)
+      (variable cyan-warmer)
+
+      (rx-escape cyan) ; compare with `string'
+      (rx-construct red-cooler)
+
+      (accent-0 blue-warmer)
+      (accent-1 green-cooler)
+      (accent-2 magenta-warmer)
+      (accent-3 blue-cooler)
+
+      (mail-0 blue)
+      (mail-1 cyan-cooler)
+      (mail-2 magenta)
+      (mail-3 cyan)
+      (mail-4 cyan-warmer)
+      (mail-5 blue-cooler)
+
+      (rainbow-0 cyan-cooler)
+      (rainbow-1 blue)
+      (rainbow-2 green-cooler)
+      (rainbow-3 magenta-cooler)
+      (rainbow-4 cyan)
+      (rainbow-5 blue-warmer)
+      (rainbow-6 green-warmer)
+      (rainbow-7 magenta)
+      (rainbow-8 cyan-warmer))
+    "The `ef-frost' palette.")
+
+  (ef-themes-theme ef-frost ef-frost-palette)
+
+  (provide-theme 'ef-frost))
+
+;;; ef-frost-theme.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]