Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 80f23a96fd | |||
| 52f212e506 | |||
| 7745000316 | |||
| a37cec8dec |
@@ -9,8 +9,8 @@
|
|||||||
--foreground: #00120ae6;;
|
--foreground: #00120ae6;;
|
||||||
--primary-cta: #15ad59;;
|
--primary-cta: #15ad59;;
|
||||||
--secondary-cta: #ffffff;;
|
--secondary-cta: #ffffff;;
|
||||||
--accent: #e2e2e2;;
|
--accent: #9ca3af;;
|
||||||
--background-accent: #c4c4c4;;
|
--background-accent: #e5e7eb;;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
@@ -495,7 +495,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--font-lato), sans-serif;
|
font-family: var(--font-playfair-display, --font-roboto), sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
@@ -508,5 +508,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-lato), sans-serif;
|
font-family: var(--font-playfair-display, --font-roboto), sans-serif;
|
||||||
}
|
}
|
||||||
@@ -1,13 +1,18 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Lato } from "next/font/google";
|
import { Playfair_Display, Roboto } 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";
|
||||||
|
|
||||||
const lato = Lato({
|
const playfairDisplay = Playfair_Display({
|
||||||
variable: "--font-lato",
|
variable: "--font-playfair-display",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
weight: ["100", "300", "400", "700", "900"],
|
});
|
||||||
|
|
||||||
|
const roboto = Roboto({
|
||||||
|
variable: "--font-roboto",
|
||||||
|
subsets: ["latin"],
|
||||||
|
weight: ["100", "300", "400", "500", "700", "900"],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
@@ -49,7 +54,7 @@ export default function RootLayout({
|
|||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body
|
||||||
className={lato.variable}
|
className={`${playfairDisplay.variable} ${roboto.variable}`}
|
||||||
>
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Reference in New Issue
Block a user