mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 19:51:17 +00:00
21 lines
908 B
TypeScript
21 lines
908 B
TypeScript
import { Bodoni_Moda, DM_Sans, Jost, Syne } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts
|
||
const bodoni = Bodoni_Moda({ subsets: ["latin"], style: ["normal", "italic"], variable: "--font-bodoni", preload: false })
|
||
const jost = Jost({ subsets: ["latin"], variable: "--font-jost", preload: false })
|
||
const syne = Syne({ subsets: ["latin"], variable: "--font-syne", preload: false })
|
||
const dmSans = DM_Sans({ subsets: ["latin"], variable: "--font-dm-sans", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
editorial: {
|
||
className: `${bodoni.variable} ${jost.variable}`,
|
||
display: "var(--font-bodoni)",
|
||
body: "var(--font-jost)",
|
||
},
|
||
expressiv: {
|
||
className: `${syne.variable} ${dmSans.variable}`,
|
||
display: "var(--font-syne)",
|
||
body: "var(--font-dm-sans)",
|
||
},
|
||
}
|