mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
11 lines
681 B
TypeScript
11 lines
681 B
TypeScript
import { Righteous, Urbanist } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts
|
||
const urbanist = Urbanist({ subsets: ["latin"], variable: "--font-bio-urbanist", preload: false })
|
||
const righteous = Righteous({ subsets: ["latin"], weight: "400", variable: "--font-bio-righteous", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
modern: { className: urbanist.variable, display: "var(--font-bio-urbanist)", body: "var(--font-bio-urbanist)" },
|
||
retro: { className: `${righteous.variable} ${urbanist.variable}`, display: "var(--font-bio-righteous)", body: "var(--font-bio-urbanist)" },
|
||
}
|