by floatboth · 9y ago · 0 comments
> Shadow DOM makes it hard to theme your app.
Polymer uses CSS custom properties for this and it's not even hard, it's pretty cool, it's like you're making a CSS API for theming <your-element>.
Could you please link to a reference? I've never heard of JavaScript attributes and I can't find any reference on MDN.