The last few posts have been about web components. One thing we’ve not touched on is how you can allow consumers of our web components to change the styling. For a web component to be reusable across many different projects with different styling requirements, this is important. But how do we do this? Doesn’t the shadow DOM make that a bit tricky? …

#css

Providing a Styling API for Web Components via CSS Custom Properties
1.20 GEEK