Update theme fonts

This commit is contained in:
2026-04-25 13:53:04 +00:00
parent 60cefb1ceb
commit ffc522d740

View File

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