|
|
|
|
|
by zarzz
2629 days ago
|
|
As others have already answered styling into Components is still hard, but there are answers coming soon with part/theme and Scoped Stylesheets. Also, ZephJS, the Web Components library I am championing, has the ability to inherit from another ZephJS element which allows one to add to or even completely replace the styles for the new element without any special css magic. So if I want to style <acme-text-field> I simply inherit from it in my new <my-text-field> and I can style however I want. https://gist.github.com/arei/8083a6270e704b830c68a2020f3e5e3... |
|