fixed vite deprecated warnings

This commit is contained in:
2026-09-17 18:58:25 +02:00
parent cc9d0ce79d
commit 8bd96bf09c
6 changed files with 40 additions and 27 deletions
@@ -1,20 +0,0 @@
@font-face {
font-family: 'Epilogue';
src: url('Epilogue-Italic-VariableFont_wght.ttf') format('truetype');
src: url('Epilogue-Italic-VariableFont_wght.ttf') format('truetype') tech(variations);
font-weight: 100 900;
font-style: italic;
font-display: block;
}
@font-face {
font-family: 'Epilogue';
src: url('Epilogue-VariableFont_wght.ttf') format('truetype');
src: url('Epilogue-VariableFont_wght.ttf') format('truetype') tech(variations);
font-weight: 100 900;
font-style: normal;
font-display: block;
}
@@ -0,0 +1,22 @@
// Chemin vers ce dossier, relatif au fichier d'entrée Sass du projet
// consommateur (Vite résout les url() d'un partial par rapport à l'entrée,
// pas par rapport à ce fichier) : à fixer via `@use ... with ($font-path: ...)`.
$font-path: '.' !default;
@font-face {
font-family: 'Epilogue';
src: url('#{$font-path}/Epilogue-Italic-VariableFont_wght.ttf') format('truetype');
src: url('#{$font-path}/Epilogue-Italic-VariableFont_wght.ttf') format('truetype') tech(variations);
font-weight: 100 900;
font-style: italic;
font-display: block;
}
@font-face {
font-family: 'Epilogue';
src: url('#{$font-path}/Epilogue-VariableFont_wght.ttf') format('truetype');
src: url('#{$font-path}/Epilogue-VariableFont_wght.ttf') format('truetype') tech(variations);
font-weight: 100 900;
font-style: normal;
font-display: block;
}