début implémentation light-mode avec son script : remplacement de tout les valeur de couleur par varriable corespondante, text-shadow autour de du logo pour le contour, changement de fonctionnement pour que svg puisse changer de couleur
This commit is contained in:
parent
8f9e75126e
commit
0585421854
56 changed files with 492 additions and 6978 deletions
|
|
@ -11,9 +11,11 @@
|
|||
@import url("src/newsletter.css");
|
||||
@import url("src/footer.css");
|
||||
@import url("src/print.css");
|
||||
|
||||
|
||||
|
||||
|
||||
:root {
|
||||
--color-background: #000;
|
||||
--color-primary: #ffffff;
|
||||
--color-primary--transparent: rgba(255, 255, 255, 0.86);
|
||||
|
||||
/* --color-secondary-rgb: 120, 171, 150;
|
||||
|
|
@ -56,6 +58,19 @@
|
|||
--curve-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95);
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--color-background: #000;
|
||||
--color-primary: #ffffff;
|
||||
}
|
||||
[data-theme="light"] {
|
||||
--color-background: #ffffff;
|
||||
--color-primary: #000;
|
||||
|
||||
--color-secondary-rgb: 140, 140, 140;
|
||||
/* --color-secondary--light: rgba(var(--color-secondary-rgb), 0.4);
|
||||
--color-secondary--x-light: rgb(var(--color-secondary-rgb), 0.25); */
|
||||
}
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
:root {
|
||||
--unit--horizontal: 2.5vw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue