feat: 完善暗色主题移动端适配 meta theme color

This commit is contained in:
2026-07-13 16:00:44 +08:00
parent 36b04537b4
commit ba14074509
5 changed files with 15 additions and 5 deletions

View File

@@ -3,6 +3,11 @@
:root {
--layout-width: 980px;
--background: #ffffff;
}
.dark {
--background: #0a0a0a;
}
html,
@@ -12,12 +17,12 @@ body {
font-size: 16px;
}
html{
html {
background: #fafafa;
}
html.dark{
background-color: #000000;
html.dark {
background: var(--background);
color: #fff;
}