Update CustomStyles.astro to optimize font loading by adding font-face properties and removing unused imports
Some checks failed
GitHub Actions / build (18) (push) Has been cancelled
GitHub Actions / build (20) (push) Has been cancelled
GitHub Actions / build (22) (push) Has been cancelled
GitHub Actions / check (push) Has been cancelled

This commit is contained in:
becarta
2025-05-10 00:12:33 +02:00
parent b93f038071
commit a242c7070f

View File

@@ -1,6 +1,4 @@
---
import '@fontsource-variable/inter';
// 'DM Sans'
// Nunito
// Dosis
@@ -23,7 +21,10 @@ import '@fontsource-variable/inter';
/* Optimize font loading with font-display:swap */
@font-face {
font-family: 'Inter Variable';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('/fonts/inter-variable.woff2') format('woff2');
}
:root {