Skip to content

Classes inside arbitrary variants are incorrectly being prefixed #8626

Closed
@thecrypticace

Description

Classes inside arbitrary variants are prefixed when they shouldn't be as they're not tailwind utilities.

The utility [.foo_&]:tw-text-red-400 incorrectly generates a selector referencing .tw-foo instead of .foo

See: #8299 (comment)

Reproduction: https://play.tailwindcss.com/GCMzAzdKNY

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