charleslaw
charleslaw
Yes, I think that's a good way to describe it. The display would be pretty different, and the behaviour would be different in some ways too. Putting it into a...
This solution sets the color of the preview but does not actually set the values of the H/S/L.
I ended up needing to set them programmatically, so I made the changes here:https://github.com/lauren/pick-a-color/pull/81
I have a more complete update here: https://github.com/lauren/pick-a-color/pull/81
I only have the advanced tab enabled, so only tested with that. Feel free to polish this up more.
Rebased on @tfennelly code since I used part of his changes. Also, this does not set the correct labels for the HSL bars - though that doesn't matter for my...
I discovered this solution only worked if 1 element was on the page b/c I was updated globals. I changed it to save attrs on the spectrums that are accessible...
I acheived this in a local copy by adding a line (`menu.find(".color-preview").click();`) here: https://github.com/lauren/pick-a-color/blob/master/src/js/pick-a-color.js#L339 Probably not the cleanest, but it did work - also it didn't use `settings` EDIT: More...
I have a solution I'm happy with:https://github.com/lauren/pick-a-color/pull/81
I have a solution I'm happy with:https://github.com/lauren/pick-a-color/pull/81