Merge pull request #43 from shibumi/shibumi/enable-font-display-auto
Added font-display: auto to _fonts.scss
This commit is contained in:
commit
c8879dd0ac
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: auto;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url("../fonts/Inter-UI-Regular.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Regular.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Regular.woff") format("woff");
|
url("../fonts/Inter-UI-Regular.woff") format("woff");
|
||||||
|
@ -8,6 +9,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
font-display: auto;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url("../fonts/Inter-UI-Italic.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Italic.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Italic.woff") format("woff");
|
url("../fonts/Inter-UI-Italic.woff") format("woff");
|
||||||
|
@ -16,6 +18,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: auto;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: url("../fonts/Inter-UI-Medium.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Medium.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Medium.woff") format("woff");
|
url("../fonts/Inter-UI-Medium.woff") format("woff");
|
||||||
|
@ -23,6 +26,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
font-display: auto;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: url("../fonts/Inter-UI-MediumItalic.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-MediumItalic.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-MediumItalic.woff") format("woff");
|
url("../fonts/Inter-UI-MediumItalic.woff") format("woff");
|
||||||
|
@ -31,6 +35,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: auto;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
src: url("../fonts/Inter-UI-Bold.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Bold.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Bold.woff") format("woff");
|
url("../fonts/Inter-UI-Bold.woff") format("woff");
|
||||||
|
@ -38,6 +43,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
font-display: auto;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
src: url("../fonts/Inter-UI-BoldItalic.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-BoldItalic.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-BoldItalic.woff") format("woff");
|
url("../fonts/Inter-UI-BoldItalic.woff") format("woff");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue