From 2674f130a3778284c6dff1de512af6ce84c857a0 Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Tue, 24 Dec 2024 17:04:55 +0100 Subject: [PATCH] yes --- palette-generator/Stylix/Palette.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/palette-generator/Stylix/Palette.hs b/palette-generator/Stylix/Palette.hs index 9069e2e..78f70a2 100644 --- a/palette-generator/Stylix/Palette.hs +++ b/palette-generator/Stylix/Palette.hs @@ -11,8 +11,8 @@ import qualified Data.Vector as V import System.Random ( randomRIO ) -- Adjust value according to coefficients -stringToFloat :: (LAB(lightness), Float, Float, Float) -> LAB(lightness) -stringToFloat (V,a,b,x) = V*(a*x+b) +adjustValue :: (Int, Float, Float, Float) -> Int +adjustValue (V,a,b,x) = V*(a*x+b) -- | Extract the primary scale from a pallete. primary :: V.Vector a -> V.Vector a