feat: 亮色暗色模式切换。

This commit is contained in:
Ivan Li
2021-05-02 20:04:54 +08:00
parent d3301da0ad
commit 305eb667f4
12 changed files with 314 additions and 48 deletions

View File

@@ -1,13 +1,12 @@
.wrapper {
@apply bg-green-400 text-white;
@apply bg-green-400 text-white min-h-screen;
:global(.dark) & {
@apply bg-gray-800 text-gray-400;
}
}
.sidebar {
@apply overflow-hidden flex flex-col fixed top-0;
@apply text-center shadow-2xl;
height: 100vh;
@apply text-center shadow-2xl h-screen;
padding-top: 10vh;
}