We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2e692 commit 91a883bCopy full SHA for 91a883b
1 file changed
packages/ui/src/mount.ts
@@ -5,6 +5,7 @@ import { Launcher } from "./launcher"
5
import { Reporter, type ReporterSubmitResult } from "./reporter"
6
import { createShadowHost, injectStyles, unmountShadowHost } from "./shadow"
7
import cssText from "./styles-inline"
8
+import { themeToCssVars } from "./wizard/theme-css"
9
10
export interface MountOptions {
11
config: {
@@ -97,6 +98,7 @@ export function mount(opts: MountOptions) {
97
98
_onOpen = opts.onOpen
99
_onClose = opts.onClose
100
_root = createShadowHost()
101
+ injectStyles(_root, themeToCssVars())
102
injectStyles(_root, cssText)
103
_container = document.createElement("div")
104
_root.appendChild(_container)
0 commit comments