From d917087d0238f48b7d8e02153faeb064624e6254 Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Fri, 3 Nov 2023 00:36:49 +0100 Subject: [PATCH] Revise typography --- docusaurus.config.js | 2 +- src/css/custom.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 60de14de3..601e5a8ee 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -76,7 +76,7 @@ const config = { tagName: 'link', attributes: { rel: 'stylesheet', - href: 'https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Red+Hat+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Red+Hat+Text:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet' + href: 'https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700&family=Exo:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap' } } ], diff --git a/src/css/custom.css b/src/css/custom.css index e4b68d4ff..20692c905 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -13,9 +13,9 @@ --ifm-color-primary-light: #00acf3; --ifm-color-primary-lighter: #00b3fe; --ifm-color-primary-lightest: #20beff; - --ifm-font-family-base: 'Red Hat Text', sans-serif; - --ifm-font-family-monospace: 'Red Hat Mono', monospace; - --ifm-heading-font-family: 'Red Hat Display', sans-serif; + --ifm-font-family-base: 'DM Sans', sans-serif; + --ifm-font-family-monospace: 'DM Mono', monospace; + --ifm-heading-font-family: 'Exo', sans-serif; } /* For readability concerns, you should choose a lighter palette in dark mode. */