mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Add light/dark mode functionality
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user