Update theme fonts

This commit is contained in:
2026-02-09 12:20:37 +00:00
parent 82e3f0a81e
commit a880cc6b5c

View File

@@ -1,8 +1,9 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter_Tight } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper"; import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
import { Mulish } from "next/font/google";
import { Inter } from "next/font/google";
const interTight = Inter_Tight({ const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"], variable: "--font-inter-tight", subsets: ["latin"],
@@ -30,6 +31,15 @@ export const metadata: Metadata = {
} }
}; };
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: Readonly<{
@@ -39,7 +49,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={`${interTight.variable} antialiased`} className={{mulish.variable} {inter.variable}} antialiased`}
> >
<Tag /> <Tag />
{children} {children}