Update theme fonts

This commit is contained in:
2026-04-30 15:36:02 +00:00
parent b238a3add1
commit 7422e019ad

View File

@@ -8,6 +8,7 @@ import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Source_Sans_3 } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
@@ -28,10 +29,15 @@ export const metadata: Metadata = {
const interTight = Inter_Tight({
variable: "--font-inter-tight",
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export default function RootLayout({
@@ -42,7 +48,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${interTight.variable} antialiased`}>
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script