From 849e66eafc65c841afec930335ab00fbd023bf28 Mon Sep 17 00:00:00 2001 From: Hoernschen Date: Tue, 28 Jun 2022 09:28:15 +0200 Subject: [PATCH] FIX font display on mac? --- assets/scss/index.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/scss/index.scss b/assets/scss/index.scss index 6a63cb0..dfd4c83 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -2,7 +2,7 @@ $font: {{ .Param "font" }}; @font-face { font-family: $font; - src: local("/fonts/#{$font}/#{$font}-Regular.ttf") format('truetype'); + src: url("/fonts/#{$font}/#{$font}-Regular.ttf") format('truetype'); font-weight: 400; font-style: normal; } @@ -25,7 +25,7 @@ body { flex-direction: column; // font-family: system-ui,-apple-system,'Segoe UI',$font,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji'; color: #333; - font-family: $font; + font-family: $font !important; font-weight: 400; font-style: normal; }