tfrere's picture
update colors
eb3ad05
:root {
font-family: "Source Sans Pro", sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:root[data-theme="light"] {
background-color: #f5f5f5;
}
:root[data-theme="dark"] {
background-color: #020011;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body,
#root {
width: 100%;
height: 100%;
min-height: 100vh;
font-family: "Source Sans Pro", sans-serif;
}
html {
background-color: inherit;
}
body {
margin: 0;
min-width: 320px;
background-color: inherit;
overflow-y: auto;
overflow-x: hidden;
}
#root {
background-color: inherit;
}
/* Styles spécifiques pour le mode sombre */
.dark-mode {
background-color: #020011 !important;
}
/* Styles spécifiques pour le mode clair */
.light-mode {
background-color: #f5f5f5 !important;
}
/* Assurer que le défilement est fluide */
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}
/* Supprimer les styles media query qui pourraient interférer */
@media (prefers-color-scheme: light) {
:root {
/* Ces styles sont maintenant gérés par les attributs data-theme */
}
}