refactor: 重构暗黑模式

This commit is contained in:
张传龙
2023-01-30 15:37:10 +08:00
parent c3dc0b4b2c
commit c58605de54
9 changed files with 34 additions and 31 deletions

View File

@@ -7,14 +7,6 @@ body {
html {
font-size: 4px; // * 1rem = 4px 方便unocss计算在unocss中 1字体单位 = 0.25rem,相当于 1等份 = 1px
&.dark {
filter: invert(1);
img,
video {
filter: invert(1);
}
}
}
body {