Update theme fonts

This commit is contained in:
2026-05-10 17:39:36 +00:00
parent 72269444d4
commit eebaf9fc9d

View File

@@ -8,6 +8,7 @@ import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Figtree } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import { Open_Sans } from "next/font/google";
@@ -17,10 +18,14 @@ export const metadata: Metadata = {
};
const interTight = Inter_Tight({
variable: "--font-inter-tight",
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export default function RootLayout({
@@ -31,7 +36,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${interTight.variable} antialiased`}>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<Tag />
{children}
<script