diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c83297f..14b22c2 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,6 +6,7 @@ import "./globals.css"; import { ServiceWrapper } from "@/components/ServiceWrapper"; import Tag from "@/tag/Tag"; import { Open_Sans } from "next/font/google"; +import { Inter_Tight } from "next/font/google"; @@ -29,13 +30,11 @@ export const metadata: Metadata = { }, }; -const inter = Inter({ - variable: "--font-inter", - subsets: ["latin"], -}); -const openSans = Open_Sans({ - variable: "--font-open-sans", + +const interTight = Inter_Tight({ + variable: "--font-inter-tight", subsets: ["latin"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], }); export default function RootLayout({ @@ -46,7 +45,7 @@ export default function RootLayout({ return ( - + {children} diff --git a/src/app/styles/base.css b/src/app/styles/base.css index 52de42f..a25430f 100644 --- a/src/app/styles/base.css +++ b/src/app/styles/base.css @@ -11,7 +11,7 @@ html { body { background-color: var(--background); color: var(--foreground); - font-family: var(--font-open-sans), sans-serif; + font-family: var(--font-inter-tight), sans-serif; position: relative; min-height: 100vh; overscroll-behavior: none; @@ -24,5 +24,5 @@ h3, h4, h5, h6 { - font-family: var(--font-inter), sans-serif; + font-family: var(--font-inter-tight), sans-serif; }