-
-
Notifications
You must be signed in to change notification settings - Fork 967
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't workingpreset-wind4Align with Tailwind4 presetAlign with Tailwind4 presetsvelte-scoped
Description
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
- Read the Contributing Guidelines.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpreset-wind4Align with Tailwind4 presetAlign with Tailwind4 presetsvelte-scoped