mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
11 lines
776 B
TypeScript
11 lines
776 B
TypeScript
import { Atkinson_Hyperlegible, Lexend } from "next/font/google"
|
||
import type { FontPair } from "../../lib/types"
|
||
|
||
// preload: false – siehe restaurant/fonts.ts. Beide Schriften sind für gute Lesbarkeit entwickelt.
|
||
const atkinson = Atkinson_Hyperlegible({ subsets: ["latin"], weight: ["400", "700"], variable: "--font-pflege-atkinson", preload: false })
|
||
const lexend = Lexend({ subsets: ["latin"], variable: "--font-pflege-lexend", preload: false })
|
||
|
||
export const fonts: Record<string, FontPair> = {
|
||
lesbar: { className: atkinson.variable, display: "var(--font-pflege-atkinson)", body: "var(--font-pflege-atkinson)" },
|
||
freundlich: { className: `${lexend.variable} ${atkinson.variable}`, display: "var(--font-pflege-lexend)", body: "var(--font-pflege-atkinson)" },
|
||
}
|