Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from splashdust/patch-1
Browse files Browse the repository at this point in the history
feat(font-face-declarations): add font-display: swap
  • Loading branch information
hjalmers authored Jul 8, 2021
2 parents ef0b58b + 0603e7c commit 70f612d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scss/_path.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
url('#{$seb-font-path}/SEBSansSerif-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
Expand All @@ -19,6 +20,7 @@
url('#{$seb-font-path}/SEBSansSerif-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
Expand All @@ -29,6 +31,7 @@
url('#{$seb-font-path}/SEBSansSerif-Medium.woff') format('woff');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "SEBSansSerif";
Expand All @@ -38,6 +41,7 @@
url('#{$seb-font-path}/SEBSansSerif-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
}

// italics
Expand All @@ -50,6 +54,7 @@
url('#{$seb-font-path}/SEBSansSerif-LightItalic.woff') format('woff');
font-weight: 300;
font-style: italic;
font-display: swap;
}

@font-face {
Expand All @@ -60,6 +65,7 @@
url('#{$seb-font-path}/SEBSansSerif-RegularItalic.woff') format('woff');
font-weight: 400;
font-style: italic;
font-display: swap;
}

@font-face {
Expand All @@ -70,7 +76,9 @@
url('#{$seb-font-path}/SEBSansSerif-MediumItalic.woff') format('woff');
font-weight: 500;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "SEBSansSerif";
src: url('#{$seb-font-path}/SEBSansSerif-BoldItalic.eot');
Expand All @@ -79,4 +87,5 @@
url('#{$seb-font-path}/SEBSansSerif-BoldItalic.woff') format('woff');
font-weight: 700;
font-style: italic;
}
font-display: swap;
}

0 comments on commit 70f612d

Please sign in to comment.