Update theme fonts

This commit is contained in:
2026-06-10 08:56:22 +00:00
parent 81006f42aa
commit ed0f04f691

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 { Open_Sans } from "next/font/google"; import { Open_Sans } from "next/font/google";
import { Source_Sans_3 } from "next/font/google";
@@ -41,12 +42,9 @@ export const metadata: Metadata = {
}, },
}; };
const inter = Inter({
variable: "--font-inter", const sourceSans3 = Source_Sans_3({
subsets: ["latin"], variable: "--font-source-sans-3",
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"], subsets: ["latin"],
}); });
@@ -58,7 +56,7 @@ export default function RootLayout({
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body className={`${inter.variable} ${openSans.variable} antialiased`}> <body className={`${sourceSans3.variable} antialiased`}>
<Tag /> <Tag />
{children} {children}
<script <script