diff --git a/palette-generator/Stylix/Palette.hs b/palette-generator/Stylix/Palette.hs index 1f9f568..4b97338 100644 --- a/palette-generator/Stylix/Palette.hs +++ b/palette-generator/Stylix/Palette.hs @@ -84,16 +84,16 @@ instance Species (String,Float,Float, Image PixelRGB8) (V.Vector LAB) where lightScheme = lightnessError (V.fromList [90, 70, 55, 35, 25, 10, 5, 5]) 40 - // 0.2, 0.133,0.178,0.85,0.93,0.88,1.0,1.0 for 0.1 scale - // f(x) = ax+b for multiplier (light) - // 0.889, 0.111 - // 0.963, 0.037 - // 0.913, 0.087 - // 0.167, 0.833 - // 0.078, 0.922 - // 0.133, 0.087 - // 0.0, 1.0 - // 0.0, 1.0 + -- 0.2, 0.133,0.178,0.85,0.93,0.88,1.0,1.0 for 0.1 scale + -- f(x) = ax+b for multiplier (light) + -- 0.889, 0.111 + -- 0.963, 0.037 + -- 0.913, 0.087 + -- 0.167, 0.833 + -- 0.078, 0.922 + -- 0.133, 0.087 + -- 0.0, 1.0 + -- 0.0, 1.0 {- For dark themes, the background is dark and the text is bright. @@ -102,13 +102,13 @@ instance Species (String,Float,Float, Image PixelRGB8) (V.Vector LAB) where darkScheme = lightnessError (V.fromList [10, 30, 45, 65, 75, 90, 95, 95]) 60 - // 0.2, 0.133,0.178,0.85,0.93,0.88,1.0,1.0 for 0.1 scale - // f(x) = ax+b for multiplier (dark) - // 0.889, 0.111 - // 0.963, 0.037 - // 0.913, 0.087 - // 0.167, 0.833 - // 0.078, 0.922 - // 0.133, 0.087 - // 0.0, 1.0 - // 0.0, 1.0 + -- 0.2, 0.133,0.178,0.85,0.93,0.88,1.0,1.0 for 0.1 scale + -- f(x) = ax+b for multiplier (dark) + -- 0.889, 0.111 + -- 0.963, 0.037 + -- 0.913, 0.087 + -- 0.167, 0.833 + -- 0.078, 0.922 + -- 0.133, 0.087 + -- 0.0, 1.0 + -- 0.0, 1.0