since3-portal/modules/templates/catalog/cafe/fonts.ts
2026-10-10 02:38:50 +02:00

16 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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" }