Skip to content

Commit 88aaab5

Browse files
committed
fix(layout): 💄 defineix el pes de la tipografia per corregir la visualització a Safari
Vegeu rsms/inter#686 (comment) Signed-off-by: Albert Mañosa <[email protected]>
1 parent 1276ce3 commit 88aaab5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎src/app/layout.tsx‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@ import "./globals.css";
1919

2020
const fontSans = localFont({
2121
src: [
22-
{ path: "../../public/fonts/InterVariable.ttf", style: "normal" },
23-
{ path: "../../public/fonts/InterVariable-Italic.ttf", style: "italic" },
22+
{
23+
path: "../../public/fonts/InterVariable.ttf",
24+
style: "normal",
25+
weight: "100 900",
26+
},
27+
{
28+
path: "../../public/fonts/InterVariable-Italic.ttf",
29+
style: "italic",
30+
weight: "100 900",
31+
},
2432
],
2533
variable: "--font-sans",
2634
display: "swap",

0 commit comments

Comments
 (0)