tesk9 / palette

Define, blend, and generate Colors and Palettes in Elm.
https://package.elm-lang.org/packages/tesk9/palette/latest
BSD 3-Clause "New" or "Revised" License
28 stars 2 forks source link

Add custom color picker to examples #2

Closed tesk9 closed 5 years ago

tesk9 commented 5 years ago

Launch system color picker to make examples more interactive.

screen shot 2018-11-25 at 2 19 48 pm

This PR is super long because I forgot/didn't know that input had a type for color. While it's not fully supported, for examples for developers I think it's safe enough to assume modern browsers. Also, this input type only supports Hex color values, which means that I would like to address https://github.com/tesk9/palette/issues/3 soon so that there's not untested mathy stuff in the examples. And so that other people can conveniently use hex colors too.