Update theme fonts

This commit is contained in:
2026-05-16 05:12:27 +00:00
parent 447a8349de
commit bbd7d5151f

View File

@@ -6,6 +6,7 @@ import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Manrope } from "next/font/google";
import { DM_Sans } from "next/font/google";
@@ -25,7 +26,15 @@ export const metadata: Metadata = {
},
};
const manrope = Manrope({ variable: "--font-manrope", subsets: ["latin"] });
const manrope = Manrope({
variable: "--font-manrope",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export default function RootLayout({
children,
@@ -35,7 +44,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${manrope.variable} antialiased`}>
<body className={`${manrope.variable} ${dmSans.variable} antialiased`}>
{children}
<script