fix(css): better color

This commit is contained in:
NaitLee 2025-06-02 21:56:22 +08:00
parent 17a2ac4021
commit ca155e20c2

View file

@ -1,6 +1,6 @@
:root { :root {
--fore: #202020; --fore: #101010;
--back: #fdfdfd; --bottom: #f0f0f0;
} }
* { * {
@ -13,7 +13,7 @@ body {
max-width: 100%; max-width: 100%;
padding: 0 8px; padding: 0 8px;
line-height: 1.5; line-height: 1.5;
background-color: var(--back); background-color: var(--bottom);
color: var(--fore); color: var(--fore);
} }
@ -23,7 +23,7 @@ a:any-link {
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--fore: #a0a0a0; --fore: #d0d0d0;
--back: #303030; --bottom: #181818;
} }
} }