Update theme fonts
This commit is contained in:
@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Raleway } from "next/font/google";
|
||||
import { Poppins } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
@@ -20,9 +21,11 @@ export const metadata: Metadata = {
|
||||
},
|
||||
};
|
||||
|
||||
const raleway = Raleway({
|
||||
variable: "--font-raleway",
|
||||
|
||||
const poppins = Poppins({
|
||||
variable: "--font-poppins",
|
||||
subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -33,7 +36,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${raleway.variable} antialiased`}>
|
||||
<body className={`${poppins.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
Reference in New Issue
Block a user