From ff2158d61e0542f85c0f7ab25b0686c183f5425f Mon Sep 17 00:00:00 2001 From: Merel Laauwen Date: Tue, 6 Feb 2024 10:15:53 +0000 Subject: [PATCH] fixing font download --- custom.scss | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/custom.scss b/custom.scss index bc52078..5a511bf 100644 --- a/custom.scss +++ b/custom.scss @@ -1,5 +1,14 @@ /*-- scss:defaults --*/ -@import url("https://fonts.googleapis.com/css?family-DM_Sans"); +@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100;9..40,200;9..40,300;9..40,400&display=swap'); + +// The serif font family for the page. +$font-family-serif: "DM Sans", sans-serif; +// The sans-serif font family for the page. +$font-family-sans-serif: "DM Sans", sans-serif; +// The monospace font family for the page. +$font-family-monospace: "Noto Sans Mono", monospace; +//The base font size for the page. +$font-size-base: 1rem; /*-- Define colors for later use --*/ $black: #000; @@ -25,16 +34,6 @@ $code-block-bg: $violet; $code-color: $white; -/*-- Define Bootstrap font variables --*/ - -// The sans-serif font family for the page. -$font-family-sans-serif: "DM Sans", "Open Sans", "serif"; -// The monospace font family for the page. -$font-family-monospace: "Noto Sans Mono", "Source Code Pro", "Courier New", "mono-space"; -//The base font size for the page. -$font-size-base: 1rem; - - /*-- Define TOC format --*/ //TOC color