mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
16 lines
1.1 KiB
TypeScript
16 lines
1.1 KiB
TypeScript
import { Baloo_2, Fredoka, Mulish, Nunito, Pacifico } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts. Pacifico nur für Logo und Kreidetafel.
|
||
const fredoka = Fredoka({ subsets: ["latin"], variable: "--font-cafe-fredoka", preload: false })
|
||
const nunito = Nunito({ subsets: ["latin"], variable: "--font-cafe-nunito", preload: false })
|
||
const baloo = Baloo_2({ subsets: ["latin"], variable: "--font-cafe-baloo", preload: false })
|
||
const mulish = Mulish({ subsets: ["latin"], variable: "--font-cafe-mulish", preload: false })
|
||
const pacifico = Pacifico({ subsets: ["latin"], weight: "400", variable: "--font-cafe-pacifico", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
rund: { className: `${fredoka.variable} ${nunito.variable} ${pacifico.variable}`, display: "var(--font-cafe-fredoka)", body: "var(--font-cafe-nunito)" },
|
||
weich: { className: `${baloo.variable} ${mulish.variable} ${pacifico.variable}`, display: "var(--font-cafe-baloo)", body: "var(--font-cafe-mulish)" },
|
||
}
|
||
|
||
export const script = { fontFamily: "var(--font-cafe-pacifico), cursive" }
|