💄 Frontend - avoid FOUC on load in dark-mode

This commit is contained in:
Eric Doughty-Papassideris
2024-03-07 19:35:32 +01:00
committed by Anton Shepilov
parent 48fdad0519
commit 1ca6b890a6
+6
View File
@@ -24,6 +24,12 @@
background: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
body, #root {
background: #2e3440; /* From tdrive/frontend/public/index.html - var(--nord0); */
}
}
#root {
z-index: 0;
}