since3-portal/modules/templates/catalog/coach/fonts.ts
2026-10-05 08:23:02 +02:00

16 lines
1.2 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 { Caveat, Familjen_Grotesk, Gloock, Hanken_Grotesk, Young_Serif } from "next/font/google"
import type { FontPair } from "../../lib/types"
// preload: false – siehe restaurant/fonts.ts. Caveat nur für die handschriftliche Unterschrift.
const gloock = Gloock({ subsets: ["latin"], weight: "400", variable: "--font-coach-gloock", preload: false })
const hanken = Hanken_Grotesk({ subsets: ["latin"], variable: "--font-coach-hanken", preload: false })
const youngSerif = Young_Serif({ subsets: ["latin"], weight: "400", variable: "--font-coach-young", preload: false })
const familjen = Familjen_Grotesk({ subsets: ["latin"], variable: "--font-coach-familjen", preload: false })
const caveat = Caveat({ subsets: ["latin"], variable: "--font-coach-caveat", preload: false })
export const fonts: Record<string, FontPair> = {
editorial: { className: `${gloock.variable} ${hanken.variable} ${caveat.variable}`, display: "var(--font-coach-gloock)", body: "var(--font-coach-hanken)" },
warm: { className: `${youngSerif.variable} ${familjen.variable} ${caveat.variable}`, display: "var(--font-coach-young)", body: "var(--font-coach-familjen)" },
}
export const script = { fontFamily: "var(--font-coach-caveat), cursive" }