'font-family' declarations are not used #75898
Labels
Font (next/font)
Related to Next.js Font Optimization.
linear: next
Confirmed issue that is tracked by the Next.js team.
Link to the code that reproduces this issue
https://github.com/jonasvle/font-reproduction/blob/master/src/app/globals.css
To Reproduce
Define a localFont with custom 'font-family' via declarations.
e.g.
Current vs. Expected behavior
I expect to be able to use the font via
font-family: 'Block Berthold'
, but I can only use it viafont-family: 'block_berthold'
.Provide environment information
Which area(s) are affected? (Select all that apply)
Font (next/font)
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local), Other (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered: