add fallbacks to font-family

This commit is contained in:
Ray Elliott 2020-05-21 15:06:43 +01:00
parent 5d7c93ccd7
commit ff12c3dfc3
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
@mixin font-1($weight) {
font-family: "Montserrat", sans-serif;
font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
@if $weight == regular {
font-weight: 400;
} @else if $weight == medium {