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

Derive all font-weight values from theme #14883

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

adamwathan
Copy link
Member

This PR removes all of the static font-weight utilities that were previously hard-coded into the framework in favor of deriving those utilities from the --font-weight-* theme values instead.

Biggest motivation for this is giving people a way to explicitly disable font-weight utilities they don't want to use in their project, which previously wasn't possible.

@adamwathan adamwathan requested a review from a team as a code owner November 5, 2024 20:57
@adamwathan adamwathan merged commit 8bd3c85 into next Nov 5, 2024
1 check passed
@adamwathan adamwathan deleted the change/move-font-weight-to-theme branch November 5, 2024 21:06
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.

1 participant