Update theme fonts

This commit is contained in:
2026-04-21 19:22:21 +00:00
parent c10e422fb0
commit 39c55b7e4c

View File

@@ -8,6 +8,7 @@ import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito } from "next/font/google";
import { Raleway } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
@@ -22,8 +23,14 @@ export const metadata: Metadata = {
};
const raleway = Raleway({
variable: "--font-raleway",
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
@@ -35,7 +42,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${raleway.variable} antialiased`}>
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script