Files
shadcn-ui/apps/v4/lib/fonts.ts
shadcn df1752dfe0 feat: rhea (#10779)
* feat: add rhea

* fix: blocks

* feat: build chat example

* fix

* fix: sidebar

* fix

* feat: update home

* fix

* fix

* fix

* feat: optimizine fonts

* feat

* fix

* fix

* fix

* fix

* fix

* fix

* fix: font in preview

* fix
2026-05-26 22:54:07 +04:00

43 lines
829 B
TypeScript

import {
Geist_Mono as FontMono,
Noto_Sans_Arabic as FontNotoSansArabic,
Noto_Sans_Hebrew as FontNotoSansHebrew,
Geist as FontSans,
} from "next/font/google"
import { cn } from "@/lib/utils"
const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
})
const fontHeading = FontSans({
subsets: ["latin"],
variable: "--font-heading",
})
const fontMono = FontMono({
subsets: ["latin"],
variable: "--font-mono",
weight: ["400"],
})
const fontNotoSansArabic = FontNotoSansArabic({
subsets: ["latin"],
variable: "--font-ar",
})
const fontNotoSansHebrew = FontNotoSansHebrew({
subsets: ["latin"],
variable: "--font-he",
})
export const fontVariables = cn(
fontSans.variable,
fontHeading.variable,
fontMono.variable,
fontNotoSansArabic.variable,
fontNotoSansHebrew.variable
)