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

Support spacing scale as line-height modifiers #14966

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

adamwathan
Copy link
Member

This PR fixes an issue where utilities like text-sm/6 failed to include a line-height because --leading-6 is no longer an explicitly defined theme value by default.

I don't really love seeing calc(var(--spacing) * 9) in the output here admittedly and it's making me consider again if we should register this variable as inline so we see the final computed value in the CSS, but if we do that it's something we should change in a separate PR.

@adamwathan adamwathan requested a review from a team as a code owner November 11, 2024 21:02
Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no

@adamwathan adamwathan merged commit 1ec1445 into next Nov 11, 2024
1 check passed
@adamwathan adamwathan deleted the fix/support-spacing-scale-for-line-height-modifiers branch November 11, 2024 21: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.

2 participants