Skip to content

Update CNA tailwind templates to fix font CSS var theme issue. #78055

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

Open
wants to merge 5 commits into
base: canary
Choose a base branch
from

Conversation

kylemh
Copy link
Contributor

@kylemh kylemh commented Apr 11, 2025

For Contributors

What?

Update the relevant Tailwind-related create-next-app templates to suggest applying font class variables onto html and not body.

Why?

tailwindlabs/tailwindcss#13410 (reply in thread)

Inline theme overrides do not work unless the variables are applied and available at the root (html).

@ijjk ijjk added the create-next-app Related to our CLI tool for quickly starting a new Next.js application. label Apr 11, 2025
@ijjk
Copy link
Member

ijjk commented Apr 11, 2025

Allow CI Workflow Run

  • approve CI run for commit: bc469a6

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk
Copy link
Member

ijjk commented Apr 11, 2025

Allow CI Workflow Run

  • approve CI run for commit: 4353faf

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-next-app Related to our CLI tool for quickly starting a new Next.js application.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants