Skip to content

Commit

Permalink
fix font loading (#1225)
Browse files Browse the repository at this point in the history
Co-authored-by: peggimann <[email protected]>
  • Loading branch information
peggimann and peggimann authored Nov 29, 2024
1 parent ee73534 commit c928710
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion frontend/src/assets/fonts/Roboto.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
@font-face {
font-family: Roboto;
src: url("./Roboto/RobotoFlex-Regular.ttf");
font-weight: normal;
font-style: normal;
font-display: swap
}



@font-face {
font-family: Roboto;
src: url('./Roboto/RobotoFlex[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght].ttf') format('truetype');
src: url('./Roboto/RobotoFlex-VariableFont_GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
Binary file not shown.

0 comments on commit c928710

Please sign in to comment.