xiwal

Generate terminal color schemes
git clone https://git.ce9e.org/xiwal.git

commit
4cf17ad6155e0c82fff364cc64b193aee5cd0f58
parent
d6247dba1bf4a61a8d903eeddf8b71f1803c0b0c
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-07-05 09:28
increase contrast between red and green

-	git diff uses normal (non-bright) colors, so there needs to be
	sufficient contrast between normal red and normal green
-	slightly increase total range
-	no longer care for contrast between bright and normal colors
-	align more with my daily driver scheme

Diffstat

M xiwal/scheme.py 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/xiwal/scheme.py b/xiwal/scheme.py

@@ -16,8 +16,8 @@ C_FACTOR = 1.2
   16    16 # - dark colors should have sufficient contrast to both black and white
   17    17 # - light colors should have different levels of lightness so they can
   18    18 #   easily be distinguished
   19    -1 L_DARK = 2, 45, 50, 50, 45, 45, 50, 85
   20    -1 L_LIGHT = 20, 60, 70, 80, 60, 60, 75, 100
   -1    19 L_DARK = 2, 40, 55, 55, 45, 45, 50, 85
   -1    20 L_LIGHT = 20, 55, 75, 80, 60, 60, 75, 100
   21    21 
   22    22 # hue for red reference color
   23    23 OFFSET = math.pi * 2 / 14