📮 New blog post:
Extract Colors from an Image for CSS Themes: www.zachleat.com/web/extract-...
Zach Leatherman 55 replies 7070 likes1919 reposts11 quote Original on MastodonOriginal on BlueskyAlso posted to Mastodon.
5 replies
@zachleat 1) Yellows FTW (C+L champions) 2) What do you use when there is no color that meets your 0.4<x<0.95 filter? 3) Did something go wrong without the concurrency queue that led you to it, or was it a defensive move? I don't have good intuitions about when adding something like that is worth it/not.
@eeeps I think the default is just a light gray but it definitely happens!
Yeah, I usually try to add a concurrency queue (and heavier caching) for things that can/might fetch out to remote sources — definitely a defensive move after I saw some build failure flakiness in some deps
@zachleat Innnnteresting (about the concurrency queue) thank you!
Yay! I was hoping there might be a blog post when I saw that plugin drop the other day 🥳 Thanks!
Neat, I can use this to extract colors to use with my Tailwind CSS plugin www.npmjs.com/package/@cla...