From 2dec2f91dc5cee719b8d152204b15d8baaea15a3 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 6 Mar 2020 19:24:55 +0000 Subject: [PATCH] fix: encapsulate font-families in quotes Fixes issue with using font names containing a space followed by a number such as `Exo 2`. Fix #1548 --- assets/scss/main.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 404b3464..dbc8eae7 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -9,10 +9,10 @@ $sta-lighten-percentage: 10%; $sta-font-size: {{ $scr.Get "font_size" }}; $sta-font-size-small: {{ $scr.Get "font_size_small" }}; -$sta-font-body: {{ $scr.Get "body_font" }}; -$sta-font-heading: {{ $scr.Get "heading_font" }}; -$sta-font-nav: {{ $scr.Get "nav_font" }}; -$sta-font-mono: {{ $scr.Get "mono_font" }}; +$sta-font-body: "{{ $scr.Get "body_font" }}"; +$sta-font-heading: "{{ $scr.Get "heading_font" }}"; +$sta-font-nav: "{{ $scr.Get "nav_font" }}"; +$sta-font-mono: "{{ $scr.Get "mono_font" }}"; $sta-primary: {{ $scr.Get "primary" }}; $sta-primary-light: lighten($sta-primary, $sta-lighten-percentage);