nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.57k stars 118 forks source link

[Feature Request] Set Inter as the base font for Shadcn #178

Open moggiex opened 6 months ago

moggiex commented 6 months ago

Is your feature request related to a problem? Please describe. We're missing a few lines to set Inter as the base font for Shadcn out of the box, and we already half the work done as fontFamily is set in tailwind.config.ts, cn() already exists the import is preset too.

Describe the solution you'd like layout.tsx add:

const inter = Inter({ subsets: ['latin'], variable: '--font-sans' });
import { cn } from '@/lib/utils';

and tweak the body line to <body className={cn('font-sans antialiased', inter.variable)}> Additional context See here for the guide to nextJS https://ui.shadcn.com/docs/installation/next Had a look at the source, got lost around the adaptation of the ThemeProvider, so hence the feature request :)

pilladipesh33 commented 4 months ago

Hey, if no one is currently working on this issue I would love to contribute to it