mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 02:24:10 +08:00
fix(stats): match document background to page theme (#52169)
This commit is contained in:
committed by
GitHub
parent
c2a39ac592
commit
a2fc1968be
@@ -42,6 +42,20 @@
|
||||
U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
||||
}
|
||||
|
||||
:root {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
:root[data-stats-theme="dark"] {
|
||||
background: #161616;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-stats-theme="light"]) {
|
||||
background: #161616;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 320px;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user