FIX font display on mac?

This commit is contained in:
Hoernschen 2022-06-28 09:28:15 +02:00
parent 0c7cec2002
commit 849e66eafc
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -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;
}