Skip to content

Group descendant selectors and prefixes #5004

@tanoc

Description

@tanoc

UnoCSS version

66.5.9

Describe the bug

I'm trying to use tailwind group descendant selectors using the Wind4 preset, but it seems there is a problem trying to use them when the preset is set with a prefix like tw: (it works fine with tw-). It seems like the colon is not getting escaped in the generated css output for the group selector part.

.tw:group:has(a) .group-has-\[a\]\:tw\:bg-green-700 { ... }

Reproduction

Playground with an example for both prefixes (to be changed in the config).

System Info

No response

Validations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions