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;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
@import "partials/variables";
|
||||
@import "partials/colors";
|
||||
@import "partials/fonts";
|
||||
@import "partials/mixins";
|
||||
@use "partials/variables" as *;
|
||||
@use "partials/colors" as *;
|
||||
@use "partials/fonts" as *;
|
||||
@use "partials/mixins" as *;
|
||||
|
||||
a, a:visited{
|
||||
text-decoration: none;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@import "/assets/fonts/epilogue/stylesheet.css";
|
||||
|
||||
@use "../../fonts/epilogue/stylesheet" with ($font-path: "../fonts/epilogue");
|
||||
|
||||
body{
|
||||
font-family: 'Epilogue';
|
||||
@@ -8,7 +7,7 @@ body{
|
||||
}
|
||||
|
||||
@mixin titre{
|
||||
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
// @mixin titre_h2{
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@use "colors" as *;
|
||||
|
||||
@mixin menu-contenus{
|
||||
ul,li{
|
||||
padding: 0;
|
||||
|
||||
Reference in New Issue
Block a user