mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 19:51:17 +00:00
16 lines
1.2 KiB
TypeScript
16 lines
1.2 KiB
TypeScript
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" }
|