fix: 移除暗色模式适配,保持浅色主题不变
This commit is contained in:
parent
4476e7adf3
commit
f2d879b3fd
12
index.html
12
index.html
|
|
@ -35,18 +35,6 @@
|
||||||
--transition: 0.25s ease;
|
--transition: 0.25s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root {
|
|
||||||
--bg: #1e1e20;
|
|
||||||
--bg-soft: #252529;
|
|
||||||
--bg-mute: #2c2c30;
|
|
||||||
--text-1: #e2e2e4;
|
|
||||||
--text-2: #9e9eb5;
|
|
||||||
--text-3: #6e6e80;
|
|
||||||
--divider: rgba(255,255,255,0.1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
|
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
|
||||||
body {
|
body {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue