fixed vite deprecated warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user