Skip to content

Commit

Permalink
perf: use more complete font stack
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Jan 14, 2024
1 parent c308d9b commit 7fa16c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
})

Expand Down

0 comments on commit 7fa16c8

Please sign in to comment.