site: fix variable weight for Roboto Flex font

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-02-08 10:03:00 +01:00
parent 9969d8ecbb
commit 415b9c60f9
2 changed files with 2 additions and 3 deletions

View File

@ -14,10 +14,9 @@
/* Roboto Flex */
@font-face {
font-family: 'Roboto Flex';
src: url('/assets/fonts/RobotoFlex.woff2') format('woff2 supports variations'),
url('/assets/fonts/RobotoFlex.woff2') format('woff2-variations');
src: url('/assets/fonts/RobotoFlex.woff2') format('woff2');
font-weight: 100 1000; /* Range of weights Roboto Flex supports */
font-stretch: 25% 151%; /* Range of width Roboto Flex supports */
font-stretch: 100%; /* Range of width Roboto Flex supports */
font-style: oblique 0deg 10deg; /* Range of oblique angle Roboto Flex supports */
font-display: fallback;
}

Binary file not shown.