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

Ensure spacing utilities with no value (e.g. px) don't generate CSS #14911

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

adamwathan
Copy link
Member

This PR fixes an issue where utilities like px would read the --spacing variable and use its value as the utility value, similar to how shadow reads --shadow by default. That doesn't make sense for these utilities since --spacing is reserved as a special multiplier variable.

@adamwathan adamwathan requested a review from a team as a code owner November 7, 2024 21:29
@adamwathan adamwathan merged commit 54ddbb1 into next Nov 8, 2024
1 check passed
@adamwathan adamwathan deleted the fix/remove-default-spacing-utilities branch November 8, 2024 14:49
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.

3 participants