rafraser/elm-lospec/1.0.0

NOTE: the latest version is 2.0.0

Palettes

Useful functions for finding palettes from the palette list

findBySlug : String -> Maybe Palette

Find a palette by "key"

You can easily spot the slug from a Lospec palette url, eg:

https://lospec.com/palette-list/oak21 -> "oak21"

searchByTag : String -> List Palette

Return a list of any palettes tagged with the specified string

Keep in mind that since tags are user input, there's no guarantees of consistency. You can view the tags for a palette on its Lospec palette page

There's a lot of palettes, so use this carefully - it's probably a tad slow.