json / src /constants /fonts.ts
xinnni's picture
Upload 146 files
f909d7c verified
raw
history blame
491 Bytes
import { Fira_Mono } from "next/font/google";
import localFont from "next/font/local";
const monaSans = localFont({
src: "../assets/fonts/Mona-Sans.woff2",
variable: "--mona-sans",
display: "swap",
fallback: ["Futura, Helvetica, sans-serif", "Tahoma, Verdana, sans-serif"],
});
const firaMono = Fira_Mono({
weight: ["500"],
subsets: ["latin"],
display: "swap",
fallback: ["Menlo, Monaco, monospace", "Consolas, Courier New, monospace"],
});
export { monaSans, firaMono };