add font-display swap to fira

This commit is contained in:
Denys Konovalov 2024-01-20 20:19:34 +01:00
parent e345704e0a
commit 79bc29928c
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

@ -4,6 +4,7 @@
font-style: normal;
font-weight: 400;
src: local("Ubuntu Regular"), local("Ubuntu-Regular"), url(ubuntu-regular.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-medium-italic */
@font-face {
@ -11,6 +12,7 @@
font-style: italic;
font-weight: 500;
src: local("Ubuntu Medium Italic"), local("Ubuntu-MediumItalic"), url(ubuntu-medium-italic.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-medium */
@font-face {
@ -18,6 +20,7 @@
font-style: normal;
font-weight: 500;
src: local("Ubuntu Medium"), local("Ubuntu-Medium"), url(ubuntu-medium.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-light-italic */
@font-face {
@ -25,6 +28,7 @@
font-style: italic;
font-weight: 300;
src: local("Ubuntu Light Italic"), local("Ubuntu-LightItalic"), url(ubuntu-light-italic.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-light */
@font-face {
@ -32,6 +36,7 @@
font-style: normal;
font-weight: 300;
src: local("Ubuntu Light"), local("Ubuntu-Light"), url(ubuntu-light.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-italic */
@font-face {
@ -39,6 +44,7 @@
font-style: italic;
font-weight: 400;
src: local("Ubuntu Italic"), local("Ubuntu-Italic"), url(ubuntu-italic.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-bold-italic */
@font-face {
@ -46,6 +52,7 @@
font-style: italic;
font-weight: 700;
src: local("Ubuntu Bold Italic"), local("Ubuntu-BoldItalic"), url(ubuntu-bold-italic.woff2) format("woff2");
font-display: swap;
}
/* ubuntu-bold */
@font-face {
@ -53,5 +60,6 @@
font-style: normal;
font-weight: 700;
src: local("Ubuntu Bold"), local("Ubuntu-Bold"), url(ubuntu-bold.woff2) format("woff2");
font-display: swap;
}