mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
13 lines
1 KiB
TypeScript
13 lines
1 KiB
TypeScript
import { Albert_Sans, DM_Serif_Display, Josefin_Sans, Libre_Baskerville } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts
|
||
const dmSerif = DM_Serif_Display({ subsets: ["latin"], weight: "400", style: ["normal", "italic"], variable: "--font-foto-dmserif", preload: false })
|
||
const albert = Albert_Sans({ subsets: ["latin"], variable: "--font-foto-albert", preload: false })
|
||
const baskerville = Libre_Baskerville({ subsets: ["latin"], style: ["normal", "italic"], variable: "--font-foto-baskerville", preload: false })
|
||
const josefin = Josefin_Sans({ subsets: ["latin"], variable: "--font-foto-josefin", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
zeitlos: { className: `${dmSerif.variable} ${albert.variable}`, display: "var(--font-foto-dmserif)", body: "var(--font-foto-albert)" },
|
||
romantisch: { className: `${baskerville.variable} ${josefin.variable}`, display: "var(--font-foto-baskerville)", body: "var(--font-foto-josefin)" },
|
||
}
|