From 52e2c0b3816ad326c95408f46f2268a4ff8b3c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skolak?= Date: Sat, 24 Feb 2024 10:58:44 +0100 Subject: [PATCH] Bug/NS-32-fix-fonts-display (#81) * fix: fix fonts display * feat: add fallback fonts --- src/lib/fonts.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/fonts.ts b/src/lib/fonts.ts index 6378903..af123b5 100644 --- a/src/lib/fonts.ts +++ b/src/lib/fonts.ts @@ -3,11 +3,13 @@ import { Inter, JetBrains_Mono } from 'next/font/google'; const fontSans = Inter({ subsets: ['latin'], variable: '--font-sans', + fallback: ['system-ui', 'arial'], }); const fontMono = JetBrains_Mono({ subsets: ['latin'], variable: '--font-mono', + fallback: ['system-ui', 'arial'], }); export const fonts = [fontSans.variable, fontMono.variable];