Skip to content

Commit

Permalink
docs: 📝 add Inter Fontsource
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan6erbond committed May 21, 2023
1 parent cb59d1d commit 4278082
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion docs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "@fontsource/inter";
import {
Anchor,
Box,
Expand Down Expand Up @@ -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" },
}}
>
<MDXProvider
Expand Down
5 changes: 5 additions & 0 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@
aria-hidden "^1.1.3"
tabbable "^6.0.1"

"@fontsource/inter@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-5.0.0.tgz#ef78fd92099feaa0dcda9e1af8fd1ec4c60fe576"
integrity sha512-yhNfm2hV+5u7PQDSGYraJ6g1nbaVuWJFiE9fo1r0Tg2xthveZsYFOUltLRLCASo3DIkTkPgf1WX8Wpxfm3IEUQ==

"@humanwhocodes/config-array@^0.11.8":
version "0.11.8"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9"
Expand Down

0 comments on commit 4278082

Please sign in to comment.