Skip to content

Commit 2a7f49c

Browse files
Use a different font for readability
1 parent f423559 commit 2a7f49c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ const config = {
4949
],
5050
],
5151

52+
stylesheets: [
53+
{
54+
href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'
55+
}
56+
],
57+
5258
plugins: [
5359
[
5460
'@docusaurus/plugin-client-redirects',

src/css/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
--ifm-color-primary-lighter: #bc45a2;
88
--ifm-color-primary-lightest: #c55dae;
99
--ifm-table-cell-padding: 0.5rem;
10+
--ifm-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
1011
--ifm-font-family-monospace: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
1112
--ifm-heading-font-weight: 775;
1213
--ifm-global-radius: 14px;

0 commit comments

Comments
 (0)