From 715e7ab8d2764860ede9c06d99f8a12cffe053e6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 11 Feb 2024 16:44:43 +0100 Subject: embed and use font Cabin for headers and widgets --- styles.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'styles.scss') diff --git a/styles.scss b/styles.scss index 39a3282..15b340b 100644 --- a/styles.scss +++ b/styles.scss @@ -5,6 +5,14 @@ // avoid web-loading internally declared default Bootswatch font $web-font-path: ""; +// fix apply font family setting seemingly missed by quarto +$font-family-sans-serif: "Cabin"; + +// use sans-serif for headers and menus +$headings-font-family: $font-family-sans-serif; +$display-font-family: $font-family-sans-serif; +$input-btn-font-family: $font-family-sans-serif; + /*-- scss:mixins --*/ @mixin font-face($name, $style, $weight, $basedir, $file) { @@ -24,3 +32,6 @@ $web-font-path: ""; @include font-face(ETbb, italic, 400, etbb, ETbb-Italic); @include font-face(ETbb, normal, 700, etbb, ETbb-Bold); @include font-face(ETbb, italic, 700, etbb, ETbb-BoldItalic); + +@include font-face(Cabin, normal, "400 700", cabin, "Cabin-Regular-VF"); +@include font-face(Cabin, italic, "400 700", cabin, "Cabin-Italic-VF"); -- cgit v1.2.3