Merge version_2 into main #13
@@ -5,6 +5,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { Cormorant_Garamond } from "next/font/google";
|
||||
import { Instrument_Sans } from "next/font/google";
|
||||
import { IBM_Plex_Sans } from "next/font/google";
|
||||
|
||||
const ubuntu = Ubuntu({
|
||||
variable: "--font-ubuntu", subsets: ["latin"],
|
||||
@@ -40,6 +41,12 @@ const instrumentSans = Instrument_Sans({
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const ibmPlexSans = IBM_Plex_Sans({
|
||||
variable: "--font-ibm-plex-sans",
|
||||
subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -48,7 +55,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${instrumentSans.variable} antialiased`}>
|
||||
<body className={`${ibmPlexSans.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-instrument-sans), sans-serif;
|
||||
font-family: var(--font-ibm-plex-sans), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-instrument-sans), sans-serif;
|
||||
font-family: var(--font-ibm-plex-sans), sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user