镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Merged
RobinMalfait merged 2 commits into
mainfrom
fix/top-level-variant-use
Jan 31, 2025
Merged

RobinMalfait merged 2 commits into
mainfrom
fix/top-level-variant-use

Conversation

@thecrypticace

Copy link
Copy Markdown
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
@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