Skip to content

Commit

Permalink
feat(scss): font-display: swap (olOwOlo#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
byronhe authored Aug 5, 2020
1 parent ff23531 commit c197e1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/sass/_iconfont.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
url('../fonts/iconfont/iconfont.woff') format('woff'),
url('../fonts/iconfont/iconfont.ttf') format('truetype'),
url('../fonts/iconfont/iconfont.svg#iconfont') format('svg');
font-display: swap;
}

%base-iconfont {
Expand Down
1 change: 1 addition & 0 deletions assets/sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ $header-padding: 20px 20px !default;
url('../fonts/chancery/apple-chancery-webfont.svg#apple-chancery') format('svg');
font-weight: lighter;
font-style: normal;
font-display: swap;
}

// Font size of the logo.
Expand Down

0 comments on commit c197e1e

Please sign in to comment.