UnoCSS version
v66.6.0
Describe the bug
It seems like
presetWind4({
preflights: {
theme: "on-demand"
}
})
doesn't work in Svelte scoped when built which isn't great as it's the default option.
Reproduction
Repro:
https://github.com/henrikvilhelmberglund/unocss-svelte-scoped-presetwind4-example
nr dev
Works fine.
nr build && nr preview
Looks messed up.
- Set
theme: true
Looks fine again.
System Info
Win10, Brave, Svelte-scoped
Validations
UnoCSS version
v66.6.0
Describe the bug
It seems like
doesn't work in Svelte scoped when built which isn't great as it's the default option.
Reproduction
Repro:
https://github.com/henrikvilhelmberglund/unocss-svelte-scoped-presetwind4-example
nr devWorks fine.
nr build && nr previewLooks messed up.
theme: trueLooks fine again.
System Info
Win10, Brave, Svelte-scoped
Validations