You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
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:
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 :)
The text was updated successfully, but these errors were encountered: