Re:Introducing react.dev
by epolanski on Friday March 17, 2023 @05:54AM
(#35195047)
That's how it is intended to work to avoid that using two web components on two different websites leads to major inconsistencies because the root shares several classes.
If you want to support your case, you either inject css or you design your web components to support css variables which pierce throgh the shadow dom.
If you want to support your case, you either inject css or you design your web components to support css variables which pierce throgh the shadow dom.