diff --git a/apps/frontend/src/app/layout.tsx b/apps/frontend/src/app/layout.tsx index 68e154e..4ae884a 100644 --- a/apps/frontend/src/app/layout.tsx +++ b/apps/frontend/src/app/layout.tsx @@ -1,13 +1,20 @@ -import "./styles.css"; +import { League_Spartan } from 'next/font/google' + +import './styles.css' + +const league_spartan = League_Spartan({ + subsets: ['latin'], + display: 'swap', +}) export default function RootLayout({ children, }: { - children: React.ReactNode; + children: React.ReactNode }): JSX.Element { return ( - + {children} - ); + ) } diff --git a/apps/frontend/tailwind.config.js b/apps/frontend/tailwind.config.js index d7e5dda..5481bb0 100644 --- a/apps/frontend/tailwind.config.js +++ b/apps/frontend/tailwind.config.js @@ -21,6 +21,9 @@ module.exports = { warning: 'hsl(34, 97%, 64%)', danger: 'hsl(0, 100%, 63%)', }, + fontFamily: { + sans: ['var(--font-league_spartan)'], + }, }, }, plugins: [],