From 7fa16c8a83d434eee9f629b0c4ffab064a18e18c Mon Sep 17 00:00:00 2001 From: Adil Hanney Date: Sun, 14 Jan 2024 17:52:54 +0000 Subject: [PATCH] perf: use more complete font stack --- src/app/layout.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2b9de44..98667cb 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,7 +5,12 @@ import { Neucha } from 'next/font/google' const neucha = Neucha({ weight: "400", preload: true, - fallback: ["Neucha", "Dekko", "cursive"], + fallback: [ + "Neucha", "Dekko", + // fallbacks from https://github.com/system-fonts/modern-font-stacks#handwritten + 'Segoe Print', 'Bradley Hand', 'Chilanka', 'TSCu_Comic', + 'casual', 'cursive', + ], subsets: ["latin"], })