Skip to content

Update font-weight.mdx #2032

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

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Update font-weight.mdx #2032

merged 2 commits into from
Jan 30, 2025

Conversation

jaschaio
Copy link
Contributor

The documentation says to use the --font-* theme variables to customize the font weight utilities in your project:

image

But for ---font-800: 800 that actually creates a font-family: 800 rule instead of the intended font-weight: 800 one.

The "Theme variables namespace" is mentioning the correct --font-weight-* one: https://tailwindcss.com/docs/theme#theme-variable-namespaces

Copy link

vercel bot commented Jan 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 7:02am

@adamwathan adamwathan merged commit 4e426d7 into tailwindlabs:main Jan 30, 2025
2 checks passed
@adamwathan
Copy link
Member

Thanks!

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