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

Fix font size utilities reference namespace #1937

Closed
wants to merge 1 commit into from

Conversation

valtism
Copy link

@valtism valtism commented Jan 17, 2025

Font size is controlled by the --text-* namespace, not --font-* which controls font-family

Font size is controlled by the `--text-*` namespace, not `--font-*` which controls font-family
Copy link

vercel bot commented Jan 17, 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 17, 2025 1:11am

@philipp-spiess philipp-spiess changed the base branch from master to v3 January 28, 2025 17:05
@RobinMalfait RobinMalfait self-assigned this Feb 5, 2025
@RobinMalfait
Copy link
Member

Hey!

Thanks for the PR, but now that Tailwind CSS v4 is released, we redirect the v4 beta docs to the "normal" docs so this change won't make a difference right now. At the time of writing these beta docs, the namespace was still --font, but now that should be corrected to --text in the normal docs as well.

https://tailwindcss.com/docs/theme#theme-variable-namespaces

I appreciate the PR!

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