fix: ensure fonts remain visible during web font load

This commit is contained in:
kolaente 2022-02-02 09:53:25 +01:00
parent 80347eb64e
commit a2ed272fb8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,7 @@
/* Super Modern Browsers */ url('quicksand-v7-latin-300.woff') format('woff'),
/* Modern Browsers */ url('quicksand-v7-latin-300.ttf') format('truetype'),
/* Safari, Android, iOS */ url('quicksand-v7-latin-300.svg#Quicksand') format('svg'); /* Legacy iOS */
font-display: swap;
}
/* quicksand-regular - latin */
@ -24,6 +25,7 @@
/* Super Modern Browsers */ url('quicksand-v7-latin-regular.woff') format('woff'),
/* Modern Browsers */ url('quicksand-v7-latin-regular.ttf') format('truetype'),
/* Safari, Android, iOS */ url('quicksand-v7-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
font-display: swap;
}
/* quicksand-500 - latin */
@ -38,6 +40,7 @@
/* Super Modern Browsers */ url('quicksand-v7-latin-500.woff') format('woff'),
/* Modern Browsers */ url('quicksand-v7-latin-500.ttf') format('truetype'),
/* Safari, Android, iOS */ url('quicksand-v7-latin-500.svg#Quicksand') format('svg'); /* Legacy iOS */
font-display: swap;
}
/* quicksand-700 - latin */
@ -52,4 +55,5 @@
/* Super Modern Browsers */ url('quicksand-v7-latin-700.woff') format('woff'),
/* Modern Browsers */ url('quicksand-v7-latin-700.ttf') format('truetype'),
/* Safari, Android, iOS */ url('quicksand-v7-latin-700.svg#Quicksand') format('svg'); /* Legacy iOS */
font-display: swap;
}