import { JetBrains_Mono, Mona_Sans } from "next/font/google"; // next/font downloads the files at build time and serves them from our own // domain, so no request ever reaches Google (no extra roundtrip, GDPR-safe). export const sans = Mona_Sans({ subsets: ["latin", "latin-ext"], // The width axis is the main typographic lever (see DESIGN.md ยง3) axes: ["wdth"], variable: "--font-mona", display: "swap", preload: true, }); export const mono = JetBrains_Mono({ subsets: ["latin", "latin-ext"], variable: "--font-jetbrains", display: "swap", // Only needed for small labels, not for the LCP element preload: false, });