diff --git a/tdrive/frontend/public/index.html b/tdrive/frontend/public/index.html
index 799f5a26..defcec71 100644
--- a/tdrive/frontend/public/index.html
+++ b/tdrive/frontend/public/index.html
@@ -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;
}