mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 19:51:17 +00:00
12 lines
794 B
TypeScript
12 lines
794 B
TypeScript
import { Lora, Mulish, Zilla_Slab } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts
|
||
const lora = Lora({ subsets: ["latin"], style: ["normal", "italic"], variable: "--font-karte-lora", preload: false })
|
||
const zilla = Zilla_Slab({ subsets: ["latin"], weight: ["500", "600", "700"], variable: "--font-karte-zilla", preload: false })
|
||
const mulish = Mulish({ subsets: ["latin"], variable: "--font-karte-mulish", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
trattoria: { className: lora.variable, display: "var(--font-karte-lora)", body: "var(--font-inter)" },
|
||
bistro: { className: `${zilla.variable} ${mulish.variable}`, display: "var(--font-karte-zilla)", body: "var(--font-karte-mulish)" },
|
||
}
|