Skip to content

Commit

Permalink
#21 Font support for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
agorilla committed Sep 23, 2018
1 parent 2a71e8a commit 78bd48c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/config/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/



@font-face {
font-family: 'MuseoSans_100';
src: url('/fonts/MuseoSans_100-webfont.woff2') format('woff2'),
Expand All @@ -31,8 +33,8 @@
font-display: fallback;
}

$font-primary: 'MuseoSans_100', 'HelveticaNeue-Light', HelveticaNeue, Helvetica, Arial, sans-serif;

:root {
--font-primary: 'MuseoSans_100', 'HelveticaNeue-Light', HelveticaNeue, Helvetica, Arial, sans-serif;
--font-primary: #{$font-primary};
}


1 change: 1 addition & 0 deletions src/generic/normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

html {
font-family: $font-primary;
font-family: var(--font-primary); /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
Expand Down

0 comments on commit 78bd48c

Please sign in to comment.