Update theme fonts

This commit is contained in:
2026-04-22 13:05:52 +00:00
parent 1c7de41766
commit f5f936d9c8

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Poppins } from "next/font/google";
import { Roboto } from "next/font/google";
@@ -20,10 +21,11 @@ export const metadata: Metadata = {
},
};
const poppins = Poppins({
variable: "--font-poppins",
const roboto = Roboto({
variable: "--font-roboto",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
weight: ["100", "300", "400", "500", "700", "900"],
});
export default function RootLayout({
@@ -34,7 +36,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${poppins.variable} antialiased`}>
<body className={`${roboto.variable} antialiased`}>
<Tag />
{children}
<script