-
-
Notifications
You must be signed in to change notification settings - Fork 965
Closed
Labels
enhancementNew feature or requestNew feature or requestpreset-wind4Align with Tailwind4 presetAlign with Tailwind4 preset
Description
UnoCSS version
^66.5.2
Describe the bug
Because of this, the color-text-700 class has no effect until I manually define the variable. I noticed that this only happens when using mode: 'shadow-dom'.
:host {
--un-text-opacity: 100%;
}My config:
export default defineConfig({
presets: [
presetWind4({
preflights: {
theme: {
process: createRemToPxProcessor(),
},
},
}),
],
})Reproduction
https://github.com/unnoq/unocss-color-mix-issue
System Info
No response
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
enhancementNew feature or requestNew feature or requestpreset-wind4Align with Tailwind4 presetAlign with Tailwind4 preset