FIX font display on mac?
This commit is contained in:
parent
0c7cec2002
commit
849e66eafc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue