Skip to content

Conversation

@thecrypticace
Copy link
Contributor

Right now our CSS AST doesn't differentiate at-rules with an empty body and at-rules that have no body at all.

This is normally not a problem however for CSS mixins @apply --foo; and @apply --foo {}; mean different things — this requires us to be able to differentiate them. We'll be changing this in Tailwind CSS itself at some point so I'm changing this here to be forward compatible with those changes.

@thecrypticace thecrypticace force-pushed the feat/at-rule-empty-bodies branch from 2b66c57 to c8906cf Compare December 15, 2025 21:21
@thecrypticace thecrypticace marked this pull request as ready for review December 15, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants