From 6b22284eb33a4501e9321e87eea38897139d02be Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 30 Mar 2023 00:39:37 +0100 Subject: [PATCH] Add more fonts (#5841) * Use regular font for body text * Use primary text color for content area * Keep medium font for nav * Add italics * Hook up more fonts --- src/components/Layout/Page.tsx | 4 +- src/components/Seo.tsx | 14 ++ src/pages/_document.tsx | 2 +- src/styles/index.css | 312 ++++++++++++++++++++++++++++++++- 4 files changed, 329 insertions(+), 3 deletions(-) diff --git a/src/components/Layout/Page.tsx b/src/components/Layout/Page.tsx index 48d60dde..1c68db4d 100644 --- a/src/components/Layout/Page.tsx +++ b/src/components/Layout/Page.tsx @@ -128,7 +128,9 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) { {/* No fallback UI so need to be careful not to suspend directly inside. */}
-
+
{content}
+ + {children} ); diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 4596b7bc..d3a1229d 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -9,7 +9,7 @@ const MyDocument = () => { return ( - +