3 ms·
I'm actually very curious on how they build in the color picker into the site to designate the site's colors. Anyone have any knowledge on this?
by publicfig 13y ago
I'm actually very curious on how they build in the color picker into the site to designate the site's colors. Anyone have any knowledge on this?
- zackbloom 13y agoSure, it's an input type="color" with some css applied to it. On webkit, it becomes a picker, on other browsers, just a text input. When it is changed, we loop through various elements and change their background color. The way the themes are generated is a little more complicated, but I don't think that's what you're asking about.
- mattezell 13y agoYeah, I am pretty sure that you're correct.. This was a new input to me (<input type=color />) - learn something new everyday.