[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes 2bf1ac2618: Record distance+contrast between
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes 2bf1ac2618: Record distance+contrast between main backgrounds |
Date: |
Thu, 22 Sep 2022 21:57:34 -0400 (EDT) |
branch: externals/ef-themes
commit 2bf1ac261818adf126dd97dae4c1161cfa3b46ca
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Record distance+contrast between main backgrounds
---
contrast-ratios.org | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 130 insertions(+)
diff --git a/contrast-ratios.org b/contrast-ratios.org
index 6aa9fdc953..0860495784 100644
--- a/contrast-ratios.org
+++ b/contrast-ratios.org
@@ -31,6 +31,10 @@ C1 and C2 are color values written in hexadecimal RGB."
(max ct (/ ct))))
(defalias #'Λ #'modus-themes-contrast)
+
+;; Just an alias for the built-in function that measures distance
+;; between colours...
+(defalias #'Δ #'color-distance)
#+end_src
* ef-autumn
@@ -86,6 +90,15 @@ C1 and C2 are color values written in hexadecimal RGB."
| modeline-info | #4fdf5f | 6.21 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #0f0e06 | distance | contrast |
+|---------+----------+----------|
+| #1f1b19 | 2279 | 1.13 |
+| #36322f | 13351 | 1.52 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-dark
:PROPERTIES:
:CUSTOM_ID: h:c97a3ebc-de07-40bf-af86-1df8be72f214
@@ -139,6 +152,15 @@ C1 and C2 are color values written in hexadecimal RGB."
| modeline-info | #2fc82f | 5.59 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #000000 | distance | contrast |
+|---------+----------+----------|
+| #1a1a1a | 6131 | 1.21 |
+| #2b2b2b | 16771 | 1.48 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-day
:PROPERTIES:
:CUSTOM_ID: h:3146bf01-7f75-4e26-bd68-feeb268cf7ff
@@ -192,6 +214,15 @@ C1 and C2 are color values written in hexadecimal RGB."
| modeline-info | #1f409f | 5.07 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #fff5ea | distance | contrast |
+|---------+----------+----------|
+| #f3ebdc | 1234 | 1.10 |
+| #e9e0d8 | 3887 | 1.21 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-deuteranopia-dark
:PROPERTIES:
:CUSTOM_ID: h:12b9f4e4-5d65-460d-b3cb-2664f7830c24
@@ -249,6 +280,15 @@ overall design of the project.
| modeline-info | #aaaaff | 4.70 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #000a1f | distance | contrast |
+|---------+----------+----------|
+| #0f1c2d | 2353 | 1.15 |
+| #19263a | 6619 | 1.30 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-deuteranopia-light
:PROPERTIES:
:CUSTOM_ID: h:64efdb85-f6fc-418b-96fc-156409e0258d
@@ -309,6 +349,15 @@ a tone. Blue is okay.
| modeline-info | #2222c3 | 5.74 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #f5f5ff | distance | contrast |
+|---------+----------+----------|
+| #e8e8ea | 2098 | 1.13 |
+| #d3d3e0 | 10071 | 1.37 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-duo-dark
:PROPERTIES:
:CUSTOM_ID: h:d9fc786a-79e2-4cf7-bc71-64d9cf7de79d
@@ -366,6 +415,15 @@ work with the overall design of the project.
| modeline-info | #00e06f | 6.78 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #070019 | distance | contrast |
+|---------+----------+----------|
+| #1c1926 | 3938 | 1.19 |
+| #262230 | 8235 | 1.32 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-duo-light
:PROPERTIES:
:CUSTOM_ID: h:d6590592-452d-4ef1-8e9a-017d87b87239
@@ -423,6 +481,15 @@ work with the overall design of the project.
| modeline-info | #00409f | 6.41 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #fff8f0 | distance | contrast |
+|---------+----------+----------|
+| #f6ece8 | 954 | 1.10 |
+| #e7e0da | 5034 | 1.24 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-light
:PROPERTIES:
:CUSTOM_ID: h:02d01731-b9ab-4653-9e71-ab1592c64734
@@ -476,6 +543,15 @@ work with the overall design of the project.
| modeline-info | #002fa0 | 6.60 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #ffffff | distance | contrast |
+|---------+----------+----------|
+| #efefef | 2322 | 1.15 |
+| #dbdbdb | 11755 | 1.38 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-night
:PROPERTIES:
:CUSTOM_ID: h:cc74fbff-d0da-4fef-a83a-8e92d27738b9
@@ -529,6 +605,15 @@ work with the overall design of the project.
| modeline-info | #00e06f | 6.22 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #000e17 | distance | contrast |
+|---------+----------+----------|
+| #0f1b29 | 2111 | 1.12 |
+| #1a2a2f | 6269 | 1.32 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-spring
:PROPERTIES:
:CUSTOM_ID: h:f8eea1d3-359a-4ab6-9c5c-c54ebe896b43
@@ -582,6 +667,15 @@ work with the overall design of the project.
| modeline-info | #1240af | 6.04 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #f6fff9 | distance | contrast |
+|---------+----------+----------|
+| #e8f0f0 | 1655 | 1.13 |
+| #e0e6e3 | 4958 | 1.24 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-summer
:PROPERTIES:
:CUSTOM_ID: h:11cc99c5-435d-4928-9fe1-1b4763cd47ff
@@ -635,6 +729,15 @@ work with the overall design of the project.
| modeline-info | #1240af | 4.88 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #fff2f3 | distance | contrast |
+|---------+----------+----------|
+| #f3e7eb | 1050 | 1.10 |
+| #efd3e4 | 5100 | 1.27 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-trio-dark
:PROPERTIES:
:CUSTOM_ID: h:0b8d9f78-dc10-4b50-9197-90713266ec71
@@ -688,6 +791,15 @@ work with the overall design of the project.
| modeline-info | #5fd0bf | 5.51 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #160f0f | distance | contrast |
+|---------+----------+----------|
+| #251a23 | 2130 | 1.13 |
+| #33252d | 6358 | 1.30 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-trio-light
:PROPERTIES:
:CUSTOM_ID: h:1e351ab9-e2c4-496e-b40f-2d813db940e2
@@ -741,6 +853,15 @@ work with the overall design of the project.
| modeline-info | #1042af | 4.98 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #f8f5ff | distance | contrast |
+|---------+----------+----------|
+| #f0ecf4 | 766 | 1.08 |
+| #e3e0e9 | 4089 | 1.21 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
+
* ef-winter
:PROPERTIES:
:CUSTOM_ID: h:be3bb946-642a-4ab5-80c3-86cb754b9771
@@ -793,3 +914,12 @@ work with the overall design of the project.
| modeline-warning | #c0b300 | 5.24 |
| modeline-info | #40e0af | 6.76 |
#+TBLFM: $3='(Λ $2 @1$3);%.2f
+
+** Distance and contrast between main backgrounds
+
+# bg-main / bg-dim, bg-main / bg-alt
+| #0f0b15 | distance | contrast |
+|---------+----------+----------|
+| #161926 | 1745 | 1.11 |
+| #202234 | 5558 | 1.24 |
+#+TBLFM: $2='(Δ $1 @1$1) :: $3='(Λ $1 @1$1);%.2f
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/ef-themes 2bf1ac2618: Record distance+contrast between main backgrounds,
ELPA Syncer <=