Update theme fonts

This commit is contained in:
2026-04-18 07:40:59 +00:00
parent bbde02f458
commit 9c48f2d8f2

View File

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