From 4278082b19679650d8dc734b7ec1b7a736656293 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Sun, 21 May 2023 23:52:13 +0200 Subject: [PATCH] docs: :memo: add Inter Fontsource --- docs/package.json | 1 + docs/src/pages/_app.tsx | 5 ++++- docs/yarn.lock | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 3ac88ac..368c4f4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,6 +11,7 @@ "dependencies": { "@emotion/react": "^11.11.0", "@emotion/server": "^11.11.0", + "@fontsource/inter": "^5.0.0", "@mantine/carousel": "^6.0.11", "@mantine/core": "^6.0.11", "@mantine/dates": "^6.0.11", diff --git a/docs/src/pages/_app.tsx b/docs/src/pages/_app.tsx index 53090df..6349fd1 100644 --- a/docs/src/pages/_app.tsx +++ b/docs/src/pages/_app.tsx @@ -1,3 +1,4 @@ +import "@fontsource/inter"; import { Anchor, Box, @@ -31,8 +32,10 @@ export default function App(props: AppProps) { withGlobalStyles withNormalizeCSS theme={{ - /** Put your mantine theme override here */ colorScheme: "dark", + fontFamily: "Inter, Verdana, sans-serif", + fontFamilyMonospace: "Inter, Monaco, Courier, monospace", + headings: { fontFamily: "Inter, Greycliff CF, sans-serif" }, }} >