fix: change to woff2 font
Some checks failed
Build / deploy-stage (push) Has been cancelled
Build / switch-stage (push) Has been cancelled
Build / build (push) Has been cancelled

This commit is contained in:
2024-12-15 02:32:21 +01:00
parent 1a20c0e7a3
commit cb459a03da
3 changed files with 3 additions and 23 deletions

View File

@@ -10,20 +10,12 @@
@font-face {
font-family: 'Inter';
src: url('../Fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
src: url('../Fonts/Inter.woff2') format('woff2');
font-weight: 100 900; // Adjust as needed for variable font range
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('../Fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
font-weight: 100 900;
font-style: italic;
font-display: swap;
}
body {
font-family: 'Inter', sans-serif;
font-weight: 500;