From f148d3cdadad0fe6003151dd28cd55c366ce9672 Mon Sep 17 00:00:00 2001 From: quentingrchr Date: Thu, 20 Jun 2024 12:12:32 +0200 Subject: [PATCH] switch font to Inter --- src/app/(app)/layout.tsx | 8 ++++---- tailwind.config.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 06888ba..89e6457 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -5,7 +5,7 @@ import { getUserTeams } from '@/services/database/team'; import '@/theme/app.css'; import '@/theme/globals.css'; import { Metadata } from 'next'; -import { Mulish } from 'next/font/google'; +import { Inter } from 'next/font/google'; import Providers from './providers'; export const dynamic = 'force-dynamic'; @@ -48,10 +48,10 @@ export const metadata: Metadata = { }, }; -const mulish = Mulish({ +const inter = Inter({ subsets: ['latin'], weight: ['400', '500', '600', '700'], - variable: '--font-mulish', + variable: '--font-inter', }); export default async function RootLayout({ children }: Props) { @@ -63,7 +63,7 @@ export default async function RootLayout({ children }: Props) { return (
diff --git a/tailwind.config.js b/tailwind.config.js index e973cba..a9dbbbe 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -10,7 +10,7 @@ module.exports = { ...defaultTheme.screens, }, fontFamily: { - mulish: 'var(--font-mulish)', + inter: 'var(--font-inter)', }, extends: { typography: ({ theme }) => ({