feat: add manual dark toggle

This commit is contained in:
Xyphyn committed 2023-08-09 12:05:08 -07:00
1 parent 363257087e
commit 629482e5d3
6 files changed
+92 -14

No files matched your search

+4 -6
View File
@@ -2,17 +2,15 @@
@tailwind components;
@tailwind utilities;
:root {
body {
@apply bg-slate-50 dark:bg-zinc-950 text-slate-900
dark:text-zinc-100 !important;
accent-color: #000;
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
accent-color: #fff;
}
.dark {
accent-color: #fff;
color-scheme: dark;
}
html,