CSUI Styling React components without getStyle() on each component
Long time no see! I haven't been keeping up lately with Plasmo, I'm surprised with how much it has changed over a few months. Congratulations in the progress!
That said, I'd love to know if there's still no way to style content scripts by just importing the style files in each individual component. Something like this, without using
getStyle()
:
This doesn't seem to work inside the Shadow DOM yet, and the stylesheet only applies if I load the content script outside of the Shadow DOM, which brings issues with styles conflicting with the site. I'm wondering if there's still no easy way to make this work.3 Replies