mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-28 15:14:12 +00:00
* feat: update dark colors * feat(v4): update dark mode colors * fix * fix * fix: slate and stone mismatches * feat(v4): update skeleton and switch colors * feat(v4): add dashboard example * fix(v4): update dashboard components * fix: themes * feat: update sonner * feat(v4): update dashboard buttons * fix: test new colors * fix: build commands * feat(v4): more color updates * feat(v4): update theme selector * fix(v4): minor component fixes
50 lines
845 B
TypeScript
50 lines
845 B
TypeScript
import {
|
|
Geist,
|
|
Geist_Mono,
|
|
Instrument_Sans,
|
|
Inter,
|
|
Mulish,
|
|
Noto_Sans_Mono,
|
|
} from "next/font/google"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const fontSans = Geist({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
})
|
|
|
|
const fontMono = Geist_Mono({
|
|
subsets: ["latin"],
|
|
variable: "--font-mono",
|
|
})
|
|
|
|
const fontInstrument = Instrument_Sans({
|
|
subsets: ["latin"],
|
|
variable: "--font-instrument",
|
|
})
|
|
|
|
const fontNotoMono = Noto_Sans_Mono({
|
|
subsets: ["latin"],
|
|
variable: "--font-noto-mono",
|
|
})
|
|
|
|
const fontMullish = Mulish({
|
|
subsets: ["latin"],
|
|
variable: "--font-mullish",
|
|
})
|
|
|
|
const fontInter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-inter",
|
|
})
|
|
|
|
export const fontVariables = cn(
|
|
fontSans.variable,
|
|
fontMono.variable,
|
|
fontInstrument.variable,
|
|
fontNotoMono.variable,
|
|
fontMullish.variable,
|
|
fontInter.variable
|
|
)
|