Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bfed0b1751 | |||
| 8845825fb3 | |||
| f0d307c5f8 | |||
| ca577ed9b5 | |||
| 408d29f7ec | |||
| 6e719c8486 | |||
| f9092e82c7 | |||
| 305e3df45c | |||
| 3ec1338574 |
@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Manrope } from "next/font/google";
|
||||
import { Libre_Baskerville } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
@@ -41,8 +42,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 inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
@@ -54,7 +61,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${manrope.variable} antialiased`}>
|
||||
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-font-family: var(--font-manrope), sans-serif;), sans-serif;
|
||||
font-family: var(--font-inter), sans-serif;), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-font-family: var(--font-manrope), sans-serif;), sans-serif;
|
||||
font-family: var(--font-libre-baskerville), serif;), sans-serif;
|
||||
}
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #0C1014;
|
||||
--card: #1A222B;
|
||||
--foreground: #E0E6EB;
|
||||
--primary-cta: #389B5F;
|
||||
--primary-cta-text: #fafffb;
|
||||
--secondary-cta: #4B5863;
|
||||
--secondary-cta-text: #001a0a;
|
||||
--accent: #2A6B43;
|
||||
--background-accent: #1F3251;
|
||||
--background: #efebe5;
|
||||
--card: #f7f2ea;
|
||||
--foreground: #000000;
|
||||
--primary-cta: #000000;
|
||||
--primary-cta-text: #efebe5;
|
||||
--secondary-cta: #ffffff;
|
||||
--secondary-cta-text: #000000;
|
||||
--accent: #ffffff;
|
||||
--background-accent: #e1b875;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user