Skip to content

feat: move font variables to html in create-next-app#89632

Open
shadcn wants to merge 1 commit intocanaryfrom
shadcn/font-html
Open

feat: move font variables to html in create-next-app#89632
shadcn wants to merge 1 commit intocanaryfrom
shadcn/font-html

Conversation

@shadcn
Copy link
Contributor

@shadcn shadcn commented Feb 7, 2026

What?

Moves the fontName.variable from <body /> to <html />

Why?

This ensures that portalled elements receives the right font when used with :root { }

@nextjs-bot nextjs-bot added the create-next-app Related to our CLI tool for quickly starting a new Next.js application. label Feb 7, 2026
@nextjs-bot
Copy link
Collaborator

Allow CI Workflow Run

  • approve CI run for commit: 8d1be30

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

1 similar comment
@nextjs-bot
Copy link
Collaborator

Allow CI Workflow Run

  • approve CI run for commit: 8d1be30

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