Update theme fonts

This commit is contained in:
2026-05-09 12:19:08 +00:00
parent 45011f35aa
commit ca771ddd61

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script"; import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Figtree } from "next/font/google"; import { Figtree } from "next/font/google";
import { DM_Sans } from "next/font/google";
@@ -19,8 +20,13 @@ export const metadata: Metadata = {
}, },
}; };
const figtree = Figtree({
variable: "--font-figtree", const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"], subsets: ["latin"],
}); });
@@ -32,7 +38,7 @@ export default function RootLayout({
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body className={`${figtree.variable} antialiased`}> <body className={`${dmSans.variable} ${inter.variable} antialiased`}>
<Tag /> <Tag />
{children} {children}
<script <script