Repository navigation
Commit ff068fe
fix(mobile): pressed and disabled styles no longer apply unconditionally
Tailwind 4.3.3 stopped nesting variants under the utility class
(`.active\:x { &:active {} }`) and emits compound selectors instead
(`.active\:x:active {}`). Uniwind 1.11.0 only reads variant tokens from
nested rules, so after #9331 pinned the monorepo to 4.3.3 every `active:`,
`disabled:`, theme, data-* and rtl variant on mobile compiled as if it had
no condition. The visible symptom was the appearance screen: each theme
card's `active:bg-subtle` press overlay rendered permanently.
Extend the existing uniwind patch so the processor also reads variant
tokens that follow the leading class token, and drop compound selectors it
cannot express (`[aria-disabled="true"]`) instead of treating them as
unconditional, which matches what the nested form compiled to before.
Co-Authored-By: Claude Code <[email protected]>1 parent f6c04c5 commit ff068fe
2 files changed
Lines changed: 812 additions & 9 deletions
0 commit comments