Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow @variant to be used at the top-level #16129

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Conversation

thecrypticace
Copy link
Contributor

This makes it so @variant is replaced at the top level and not just within rules. This also fixes a bug where @variant wasn't handled when inside an @media at-rule.

@thecrypticace thecrypticace force-pushed the fix/top-level-variant-use branch from 598e76e to e0e0c27 Compare January 31, 2025 17:15
@thecrypticace thecrypticace marked this pull request as ready for review January 31, 2025 17:22
@thecrypticace thecrypticace requested a review from a team as a code owner January 31, 2025 17:22
@RobinMalfait RobinMalfait merged commit 4052eb2 into main Jan 31, 2025
5 checks passed
@RobinMalfait RobinMalfait deleted the fix/top-level-variant-use branch January 31, 2025 18:18
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