Update theme fonts

This commit is contained in:
2026-02-09 13:00:28 +00:00
parent b0fc442d12
commit 013f6dbc4a

View File

@@ -2,8 +2,8 @@ import type { Metadata } from "next";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper"; import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
import { Mulish } from "next/font/google"; import { Manrope } from "next/font/google";
import { Inter } from "next/font/google"; import { DM_Sans } from "next/font/google";
const montserrat = Montserrat({ const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"], variable: "--font-montserrat", subsets: ["latin"],
@@ -66,6 +66,15 @@ const inter = Inter({
subsets: ["latin"], subsets: ["latin"],
}); });
const manrope = Manrope({
variable: "--font-manrope",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: Readonly<{
@@ -74,9 +83,7 @@ export default function RootLayout({
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body ${inter.variable} antialiased`} ${sourceSans3.variable} {notoSans.variable`} {inter.variable}} antialiased`} className={`${manrope.variable} ${dmSans.variable} antialiased`}>
className={`${mulish.variable} ${inter.variable} antialiased`} ${sourceSans3.variable} {notoSans.variable`} {inter.variable}} antialiased`}
>
<Tag /> <Tag />
{children} {children}