Add font-display:swap to css file bundled with distribution package
This commit is contained in:
parent
bbd241b67e
commit
d6098a44af
1 changed files with 21 additions and 0 deletions
21
misc/dist/inter.css
vendored
21
misc/dist/inter.css
vendored
|
|
@ -2,6 +2,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
font-display: swap;
|
||||
src: url("Inter-Thin-BETA.woff2") format("woff2"),
|
||||
url("Inter-Thin-BETA.woff") format("woff");
|
||||
}
|
||||
|
|
@ -9,6 +10,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 100;
|
||||
font-display: swap;
|
||||
src: url("Inter-ThinItalic-BETA.woff2") format("woff2"),
|
||||
url("Inter-ThinItalic-BETA.woff") format("woff");
|
||||
}
|
||||
|
|
@ -17,6 +19,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 200;
|
||||
font-display: swap;
|
||||
src: url("Inter-ExtraLight-BETA.woff2") format("woff2"),
|
||||
url("Inter-ExtraLight-BETA.woff") format("woff");
|
||||
}
|
||||
|
|
@ -24,6 +27,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
font-display: swap;
|
||||
src: url("Inter-ExtraLightItalic-BETA.woff2") format("woff2"),
|
||||
url("Inter-ExtraLightItalic-BETA.woff") format("woff");
|
||||
}
|
||||
|
|
@ -32,6 +36,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url("Inter-Light-BETA.woff2") format("woff2"),
|
||||
url("Inter-Light-BETA.woff") format("woff");
|
||||
}
|
||||
|
|
@ -39,6 +44,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url("Inter-LightItalic-BETA.woff2") format("woff2"),
|
||||
url("Inter-LightItalic-BETA.woff") format("woff");
|
||||
}
|
||||
|
|
@ -47,6 +53,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("Inter-Regular.woff2") format("woff2"),
|
||||
url("Inter-Regular.woff") format("woff");
|
||||
}
|
||||
|
|
@ -54,6 +61,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("Inter-Italic.woff2") format("woff2"),
|
||||
url("Inter-Italic.woff") format("woff");
|
||||
}
|
||||
|
|
@ -62,6 +70,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url("Inter-Medium.woff2") format("woff2"),
|
||||
url("Inter-Medium.woff") format("woff");
|
||||
}
|
||||
|
|
@ -69,6 +78,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url("Inter-MediumItalic.woff2") format("woff2"),
|
||||
url("Inter-MediumItalic.woff") format("woff");
|
||||
}
|
||||
|
|
@ -77,6 +87,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url("Inter-SemiBold.woff2") format("woff2"),
|
||||
url("Inter-SemiBold.woff") format("woff");
|
||||
}
|
||||
|
|
@ -84,6 +95,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url("Inter-SemiBoldItalic.woff2") format("woff2"),
|
||||
url("Inter-SemiBoldItalic.woff") format("woff");
|
||||
}
|
||||
|
|
@ -92,6 +104,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url("Inter-Bold.woff2") format("woff2"),
|
||||
url("Inter-Bold.woff") format("woff");
|
||||
}
|
||||
|
|
@ -99,6 +112,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url("Inter-BoldItalic.woff2") format("woff2"),
|
||||
url("Inter-BoldItalic.woff") format("woff");
|
||||
}
|
||||
|
|
@ -107,6 +121,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
font-display: swap;
|
||||
src: url("Inter-ExtraBold.woff2") format("woff2"),
|
||||
url("Inter-ExtraBold.woff") format("woff");
|
||||
}
|
||||
|
|
@ -114,6 +129,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 800;
|
||||
font-display: swap;
|
||||
src: url("Inter-ExtraBoldItalic.woff2") format("woff2"),
|
||||
url("Inter-ExtraBoldItalic.woff") format("woff");
|
||||
}
|
||||
|
|
@ -122,6 +138,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: swap;
|
||||
src: url("Inter-Black.woff2") format("woff2"),
|
||||
url("Inter-Black.woff") format("woff");
|
||||
}
|
||||
|
|
@ -129,6 +146,7 @@
|
|||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 900;
|
||||
font-display: swap;
|
||||
src: url("Inter-BlackItalic.woff2") format("woff2"),
|
||||
url("Inter-BlackItalic.woff") format("woff");
|
||||
}
|
||||
|
|
@ -145,6 +163,7 @@ Usage:
|
|||
@font-face {
|
||||
font-family: 'Inter var';
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-named-instance: 'Regular';
|
||||
src: url("Inter-upright.var.woff2") format("woff2");
|
||||
|
|
@ -152,6 +171,7 @@ Usage:
|
|||
@font-face {
|
||||
font-family: 'Inter var';
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: italic;
|
||||
font-named-instance: 'Italic';
|
||||
src: url("Inter-italic.var.woff2") format("woff2");
|
||||
|
|
@ -174,6 +194,7 @@ explicitly, e.g.
|
|||
@font-face {
|
||||
font-family: 'Inter var experimental';
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: oblique 0deg 10deg;
|
||||
src: url("Inter.var.woff2") format("woff2");
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue