W5.1 hotfix: Fraunces must be variable when using axes (next/font)
This commit is contained in:
parent
ab4fe2a334
commit
c40d1b58a0
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ const mono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono" });
|
|||
const fraunces = Fraunces({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-display",
|
||||
weight: ["400", "600", "700", "900"],
|
||||
// No explicit `weight` → next/font treats this as a variable font and
|
||||
// exposes the full weight range via CSS. `axes` requires variable mode.
|
||||
axes: ["SOFT", "WONK"],
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue