Add light/dark mode functionality

This commit is contained in:
Sat Naing
2022-09-09 00:48:23 +06:30
parent 74efc50049
commit f995485c09
3 changed files with 35 additions and 1 deletions
+8
View File
@@ -19,6 +19,14 @@
--color-card: 63, 75, 90;
--color-border: 236, 233, 233;
}
#sun-svg,
.theme-dark #moon-svg {
display: none;
}
#moon-svg,
.theme-dark #sun-svg {
display: block;
}
}
@layer components {