#WebComponents caveat that may throw you if you don’t know about it: it’s very hard to slot elements in named slots while keeping the default slot empty, since any indentation will become blank slots, thus making the default slot have slotted nodes. 🤦🏽♀️
Demo: https://t.co/kDTVkDeK5I
(Yes, manual slot assignment fixes this, but also throws the baby out with the bathwater. I wonder if detecting this case and removing the blank text nodes altogether might be better…)
While I work through the (frankly enormous) backlog of responses and feedback that I've received so far, here's a little sneak peek of a couple of Loken's color palette generation modules, Polychrome and Monochrome (and our 50-950 generator for good measure):
Finally going public today with the project that's occupied my entire waking hours the last couple months, so I figured it's probably time to start actually posting things here again and getting involved.
I do miss Tweetbot though.
One of the biggest pain points for #designsystem teams is naming (components, patterns, tokens… anything).
Here are my most useful tips for naming design system things (part 1).
🧵