-
Notifications
You must be signed in to change notification settings - Fork 387
Description
I just realized we didn't have an issue for theming after ::theme was removed from the Shadow Parts proposal. I'm not sure if this is tracked elsewhere or not.
Many, many, web components authors and users need a way to do deep cross-shadow root styling. Shadow parts get us part way there, but require extensive forwarding to enable application-wide or sub-tree theming. ::theme might solve a lot of cases, but the concept needs to be refined to find an acceptable shape. There are other musing around about more open shadow roots.
We've seen a few different userland approaches to theming, often built around injecting styles from a global registry into shadow roots.
I think there are a few variations on the problems to target, and obvious a lot of potential solutions. Hopefully we can gather both here and tease out some commonalities.