Skip to content

Commit

Permalink
fix: use font-sans class name
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 7, 2023
1 parent b44b6bb commit 1419440
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ function MyApp({
>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<TooltipProvider>
<div className="mx-auto flex min-h-screen flex-col justify-center">
<div className="mx-auto flex min-h-screen flex-col justify-center font-sans">
<Header showSingIn={showSingIn} />
<main
className={cn(
"mx-auto flex max-w-5xl flex-1 flex-col justify-center bg-white font-sans text-slate-900 antialiased dark:bg-slate-900 dark:text-slate-50",
// fontSans.variable
"mx-auto flex max-w-5xl flex-1 flex-col justify-center bg-white text-slate-900 antialiased dark:bg-slate-900 dark:text-slate-50",
fontSans.variable
)}
>
<Component {...pageProps} />
Expand Down

1 comment on commit 1419440

@vercel
Copy link

@vercel vercel bot commented on 1419440 Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.