mirror of
https://github.com/danth/stylix
synced 2024-11-22 12:13:08 +00:00
Order base08 to base0F by hue ✨
This commit is contained in:
parent
6c806290e4
commit
92f63a54ff
1 changed files with 4 additions and 1 deletions
|
@ -78,8 +78,11 @@ selectColours image = zip names palette
|
|||
primaryScale = [HSV h s (v / 8) | v <- [1..8]]
|
||||
where (HSV h s _) = head shortlist
|
||||
|
||||
secondaryScale :: [HSV Float]
|
||||
secondaryScale = sortOn (\(HSV h _ _) -> h) $ tail shortlist
|
||||
|
||||
palette :: [HSV Float]
|
||||
palette = primaryScale ++ tail shortlist
|
||||
palette = primaryScale ++ secondaryScale
|
||||
|
||||
unpackImage :: DynamicImage -> [RGB Float]
|
||||
unpackImage image = do
|
||||
|
|
Loading…
Reference in a new issue