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

> let the user decide to let styles from the outside leak into the component

Please see my above comment https://github.com/w3c/webcomponents/issues/864#issuecomment-586752811 for explanation on this

> In order to make the discussion more productive, let's focus on theming with shadow DOM isolation in mind. IMO, if a developer wants to "tell the component from the outside to let styles leak in", that is an anti-pattern

Regarding the other suggestions:

>  inject a stylesheet into a webcomponent from the outside

The existing user-land solutions (`Vaadin.ThemableMixin`) are doing exactly that.

-- 
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#issuecomment-591366073

Received on Wednesday, 26 February 2020 10:56:34 UTC