Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d7fb77fa5 | |||
| b0edac865b | |||
| e025be3cc6 | |||
| 7ccda7da84 | |||
| ca4872eea5 | |||
| a747cb7a1c | |||
| bbad60b78b | |||
| 7c0d2a5fc8 | |||
| ee86435dbc | |||
| c366bcaaf5 |
@@ -4,6 +4,8 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { Work_Sans } from "next/font/google";
|
||||
import { Source_Sans_3 } from "next/font/google";
|
||||
|
||||
const libreBaskerville = Libre_Baskerville({
|
||||
variable: "--font-libre-baskerville", subsets: ["latin"],
|
||||
@@ -23,6 +25,15 @@ export const metadata: Metadata = {
|
||||
}
|
||||
};
|
||||
|
||||
const workSans = Work_Sans({
|
||||
variable: "--font-work-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const sourceSans3 = Source_Sans_3({
|
||||
variable: "--font-source-sans-3",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -31,9 +42,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<body className={`${workSans.variable} ${sourceSans3.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
font-family: var(--font-source-sans-3), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-libre-baskerville), serif;
|
||||
font-family: var(--font-work-sans), sans-serif;
|
||||
}
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
/* Base units */
|
||||
/* --vw is set by ThemeProvider */
|
||||
|
||||
/* --background: #ffffff;;
|
||||
--card: #f9f9f9;;
|
||||
--foreground: #000f06e6;;
|
||||
--primary-cta: #0a7039;;
|
||||
--secondary-cta: #f9f9f9;;
|
||||
--accent: #e2e2e2;;
|
||||
--background-accent: #c4c4c4;; */
|
||||
/* --background: #00feff;;;;;;;;;;
|
||||
--card: #ffff00;;;;;;;;;;
|
||||
--foreground: #00f763;;;;;;;;;;
|
||||
--primary-cta: #fa00ff;;;;;;;;;;
|
||||
--secondary-cta: #ff0000;;;;;;;;;;
|
||||
--accent: #0008ff;;;;;;;;;;
|
||||
--background-accent: #00ffaa;;;;;;;;;; */
|
||||
|
||||
--background: #ffffff;;
|
||||
--card: #f9f9f9;;
|
||||
--foreground: #000f06e6;;
|
||||
--primary-cta: #0a7039;;
|
||||
--secondary-cta: #f9f9f9;;
|
||||
--accent: #e2e2e2;;
|
||||
--background-accent: #c4c4c4;;
|
||||
--background: #00feff;;;;;;;;;;
|
||||
--card: #ffff00;;;;;;;;;;
|
||||
--foreground: #00f763;;;;;;;;;;
|
||||
--primary-cta: #fa00ff;;;;;;;;;;
|
||||
--secondary-cta: #ff0000;;;;;;;;;;
|
||||
--accent: #0008ff;;;;;;;;;;
|
||||
--background-accent: #00ffaa;;;;;;;;;;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user