[w3c/webcomponents] Theming options for shadow roots (#864)

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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/864

Received on Wednesday, 22 January 2020 20:53:03 UTC