Update theme fonts

This commit is contained in:
2026-05-17 01:11:02 +00:00
parent 69cdbc1fee
commit 6572930c3a

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Lato } from "next/font/google";
import { Open_Sans } from "next/font/google";
@@ -20,10 +21,14 @@ export const metadata: Metadata = {
},
};
const lato = Lato({
variable: "--font-lato",
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
export default function RootLayout({
@@ -34,7 +39,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${lato.variable} antialiased`}>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<Tag />
{children}
<script