feat: 完善暗色主题移动端适配 meta theme color
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user