fixed dark mode

This commit is contained in:
ION606
2025-09-15 10:54:35 -04:00
parent a7f6c9edb5
commit 5f535a61c1
3 changed files with 59 additions and 22 deletions
+23 -4
View File
@@ -37,14 +37,33 @@
}
}
body.theme-light {
color-scheme: light;
}
body.theme-dark {
color-scheme: dark;
--bg: #0b1224;
--bg-2: #0e1730;
--surface: #0f1c3a;
--card: #0f1b33;
--text: #e7eef9;
--muted: #9fb2ce;
--border: rgba(255, 255, 255, 0.1);
--accent: #7aa2ff;
--accent-600: #4f7dff;
}
body.theme-light {
color-scheme: light;
--bg: #f6f8fc;
--bg-2: #eef2fb;
--surface: #ffffff;
--card: #ffffff;
--text: #0f172a;
--muted: #6b7280;
--border: #e5e9f2;
--accent: #2563eb;
--accent-600: #1e40af;
}
* {
box-sizing: border-box;
}