From 038b7ba3b2b0b8cdb9a9888a1c01ec72d03d7e12 Mon Sep 17 00:00:00 2001 From: wizzdom Date: Sat, 27 Jan 2024 04:04:20 +0000 Subject: [PATCH] mkdocs: use Redbrick fonts --- docs/stylesheets/extra.css | 7 +++++++ mkdocs.yml | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 docs/stylesheets/extra.css diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css new file mode 100644 index 00000000..ba65314a --- /dev/null +++ b/docs/stylesheets/extra.css @@ -0,0 +1,7 @@ +@import url("https://raw.githubusercontent.com/redbrick/design-system/main/assets/fonts/myriad-pro/loader.css"); +@import url("https://raw.githubusercontent.com/redbrick/design-system/main/assets/fonts/fira-code/loader.css"); + +:root { + --md-text-font: "Myriad Pro", sans-serif; + --md-code-font: "Fira Code", monospace; +} diff --git a/mkdocs.yml b/mkdocs.yml index f306a524..8e4cfadb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -47,3 +47,6 @@ markdown_extensions: extra: github_org: https://github.com/redbrick + +extra_css: + - stylesheets/extra.css