From 49408adfd36dc0d776797bf4a79fece0ce775d0d Mon Sep 17 00:00:00 2001 From: jffarge Date: Mon, 11 Apr 2022 21:22:33 +0200 Subject: [PATCH] website: update code block font Use a modern web font with a better render on non-retina display Signed-off-by: jffarge --- website/docusaurus.config.js | 2 +- website/src/css/custom.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 010a9c68..6720b455 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -13,7 +13,7 @@ module.exports = { organizationName: "Dagger", projectName: "Dagger", stylesheets: [ - "https://fonts.googleapis.com/css2?family=Karla&family=Montserrat:wght@700&display=swap", + "https://fonts.googleapis.com/css2?family=Karla&family=Source+Code+Pro:wght@400&family=Montserrat:wght@700&display=swap", ], customFields: { AMPLITUDE_ID: process.env.REACT_APP_AMPLITUDE_ID diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 0d1dbf27..ad7771b3 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -52,7 +52,7 @@ $desktop-xl-width: 1160px; --ifm-font-color-base: var(--ifm-color-primary-dark); --ifm-font-family-base: "Karla", sans-serif; --ifm-font-family-title: "Montserrat", "Arial", sans-serif; - --ifm-font-family-monospace: "Courier new", sans-serif; + --ifm-font-family-monospace: "Source Code Pro", monospace; --ifm-h2-font-size: 2rem; --ifm-leading-desktop: 1; --ifm-link-color: var(--ifm-color-primary-dark);