How should I access the <html> tag of a popup page?

In context of a popup page, plasmo creates it's shadowcontainer in the <body> and not <html> What would be the proper way to have plasmo mounted earlier - at the <html>? Context: I've wrapped the popup page with radix's <Theme> as the root element, but this Theme isn't modyfing <html>. I think it doesn't have access to the root elements, because of being it resides in shadow dom...
No description
1 Reply
alanek2009
alanek2009•9mo ago
Maybe i'm misunderstanding my problem 🙂 I'm just not sure why elements before <Theme> are not getting attributes, but radix docs are acting as if that should work(theme after body, not before https://www.radix-ui.com/themes/docs/overview/getting-started)