Re: [w3c/webcomponents] Provide an option which allows global CSSes to style elements inside a shadow tree (#769)

So I think that's what `::theme` is for. See https://drafts.csswg.org/css-shadow-parts/ and https://github.com/w3c/csswg-drafts/issues/2368 There is an explainer at https://meowni.ca/posts/part-theme-explainer/

If we're adding some mechanism to associate a style with a custom element (see https://github.com/w3c/webcomponents/issues/468) then you could imagine that each component in your app could share a single programmatically shared stylesheet object as well.

-- 
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/769#issuecomment-436140829

Received on Tuesday, 6 November 2018 06:04:03 UTC