From 9eafa55e86c994c2ecd5cf193004dc3e7be4f053 Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Tue, 24 Dec 2024 17:23:01 +0100 Subject: [PATCH] yes --- palette-generator/Stylix/Palette.hs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/palette-generator/Stylix/Palette.hs b/palette-generator/Stylix/Palette.hs index 2f1c3ad..265faba 100644 --- a/palette-generator/Stylix/Palette.hs +++ b/palette-generator/Stylix/Palette.hs @@ -87,24 +87,24 @@ instance Species (String,Double,Double, Image PixelRGB8) (V.Vector LAB) where -} lightScheme = lightnessError (V.fromList [ - (adjustValue 90.0 0.889 0.111 primaryScaleLight), + (adjustValue 90.0 0.1 0.0 primaryScaleLight), (adjustValue 70.0 0.963 0.037 primaryScaleLight), (adjustValue 55.0 0.913 0.087 primaryScaleLight), (adjustValue 35.0 0.167 0.883 primaryScaleLight), (adjustValue 25.0 0.078 0.922 primaryScaleLight), - (adjustValue 10.0 0.133 0.087 primaryScaleLight), + (adjustValue 10.0 0.056 0.944 primaryScaleLight), (adjustValue 5.0 0.0 1.0 primaryScaleLight), (adjustValue 5.0 0.0 1.0 primaryScaleLight) ]) 40 - -- 0.2, 0.133,0.178,0.85,0.93,0.88,1.0,1.0 for 0.1 scale + -- 0.1, 0.133,0.178,0.85,0.93,0.95,1.0,1.0 for 0.1 scale -- f(x) = ax+b for multiplier (light) - -- 0.889, 0.111 + -- 1.0, 0.0 -- 0.963, 0.037 -- 0.913, 0.087 -- 0.167, 0.833 -- 0.078, 0.922 - -- 0.133, 0.087 + -- 0.056, 0.944 -- 0.0, 1.0 -- 0.0, 1.0 @@ -114,23 +114,23 @@ instance Species (String,Double,Double, Image PixelRGB8) (V.Vector LAB) where -} darkScheme = lightnessError (V.fromList [ - (adjustValue 10.0 0.889 0.111 primaryScaleDark), + (adjustValue 10.0 1.0 0.0 primaryScaleDark), (adjustValue 30.0 0.963 0.037 primaryScaleDark), (adjustValue 45.0 0.913 0.087 primaryScaleDark), (adjustValue 65.0 0.167 0.883 primaryScaleDark), (adjustValue 75.0 0.078 0.922 primaryScaleDark), - (adjustValue 90.0 0.133 0.087 primaryScaleDark), + (adjustValue 90.0 0.056 0.944 primaryScaleDark), (adjustValue 95.0 0.0 1.0 primaryScaleDark), (adjustValue 95.0 0.0 1.0 primaryScaleDark) ]) 60 - -- 0.2, 0.133,0.178,0.85,0.93,0.88,1.0,1.0 for 0.1 scale + -- 0.1, 0.133,0.178,0.85,0.93,0.95,1.0,1.0 for 0.1 scale -- f(x) = ax+b for multiplier (dark) - -- 0.889, 0.111 + -- 1.0, 0.0 -- 0.963, 0.037 -- 0.913, 0.087 -- 0.167, 0.833 -- 0.078, 0.922 - -- 0.133, 0.087 + -- 0.056, 0.944 -- 0.0, 1.0 -- 0.0, 1.0