1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 10:45:23 -04:00
jarv.is/lib/styles/fonts/loaders/GeistMono.ts

23 lines
528 B
TypeScript

import localFont from "next/font/local";
const GeistMono = localFont({
src: "../../../../node_modules/geist/dist/fonts/geist-mono/GeistMono-Variable.woff2",
weight: "100 900",
style: "normal",
display: "swap",
fallback: [
// https://github.com/system-fonts/modern-font-stacks#monospace-code
"ui-monospace",
"'Cascadia Code'",
"'Source Code Pro'",
"Menlo",
"Consolas",
"'DejaVu Sans Mono'",
"monospace",
],
adjustFontFallback: false,
preload: true,
});
export default GeistMono;