Skip to content

Tailwind 4.3.3+ nested variants are not working #661

Description

@Brentlok

Tailwind 4.3.3 stopped nesting variants under the utility class and emits compound selectors instead:

/* <= 4.3.2 */                          /* 4.3.3 */
.active\:bg-subtle { &:active {…} }     .active\:bg-subtle:active {…}

Uniwind only reads variant tokens from nested rules, so on the flattened form it never sets the active/disabled/theme flag.

Found by @juliusmarminge pingdotgg/t3code#9355

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions