mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 19:51:17 +00:00
21 lines
1 KiB
TypeScript
21 lines
1 KiB
TypeScript
import { Barlow, Barlow_Condensed, Bricolage_Grotesque, Inter_Tight } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts
|
||
const barlowCondensed = Barlow_Condensed({ subsets: ["latin"], weight: ["600", "700", "800"], variable: "--font-barlow-condensed", preload: false })
|
||
const barlow = Barlow({ subsets: ["latin"], weight: ["400", "500", "600"], variable: "--font-barlow", preload: false })
|
||
const bricolage = Bricolage_Grotesque({ subsets: ["latin"], variable: "--font-bricolage", preload: false })
|
||
const interTight = Inter_Tight({ subsets: ["latin"], variable: "--font-inter-tight", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
kraeftig: {
|
||
className: `${barlowCondensed.variable} ${barlow.variable}`,
|
||
display: "var(--font-barlow-condensed)",
|
||
body: "var(--font-barlow)",
|
||
},
|
||
technisch: {
|
||
className: `${bricolage.variable} ${interTight.variable}`,
|
||
display: "var(--font-bricolage)",
|
||
body: "var(--font-inter-tight)",
|
||
},
|
||
}
|