From f2d3c4246e112863c42bce4cab4ab138dcf004ff Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 7 Feb 2024 17:35:27 +0100 Subject: [PATCH] chore: unify the order of the fonts When displaying Mermaid diagrams they take the fonts from the Docusaurus config, since the order was different to the one in the CSS for code, it was different. Signed-off-by: Matej Focko --- docusaurus.config.js | 2 +- src/css/custom.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 3d826e4..6f21bf1 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -265,7 +265,7 @@ const config = { mermaid: { options: { fontFamily: - "Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace", + "'JetBrains Mono', 'Cascadia Code PL', 'Iosevka', 'Fira Code', 'Hack', monospace", }, }, algolia: { diff --git a/src/css/custom.scss b/src/css/custom.scss index 02c04ba..531ac39 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -32,7 +32,7 @@ kbd, var, tt, text { - font-family: "Cascadia Code PL", "JetBrains Mono", "Iosevka", "Fira Code", + font-family: "JetBrains Mono", "Cascadia Code PL", "Iosevka", "Fira Code", "Hack", monospace; }