-
Notifications
You must be signed in to change notification settings - Fork 930
Closed
Labels
questionFurther information is requestedFurther information is requestedupstream/tailwindcssv4#4488#4488
Description
Package
v4.x
Description
I currently have a strange behavior with color-mix. Looking at nuxt ui docs the UDropDown with error colored options has the following css
@supports (color:color-mix(in lab,red,red)) {
.data-highlighted\:before\:bg-error\/10[data-highlighted]:before {
background-color:
color-mix(in oklab, var(--ui-error) 10%, transparent);
}
}
But this css is not generated properly in my project. Its just the full red background-color.
.data-highlighted\:before\:bg-error\/10 {
&[data-highlighted] {
&::before {
content: var(--tw-content);
background-color: var(--ui-error);
}
}
}
It was working before but I dont know what update brokes it.
Is it possible to add the dynamic 10% opacity to the &[data-highlighted ?
So its not looking like that while hovering?

Jericho1060
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requestedupstream/tailwindcssv4#4488#4488