[feature/frontend] add light mode color scheme of base css, adapt to prefers-color-scheme

This commit is contained in:
cdn0x12 2025-02-09 18:24:43 +08:00
commit 670c0eb294
No known key found for this signature in database
GPG key ID: 0C656827F9F80080
8 changed files with 80 additions and 2 deletions

View file

@ -298,6 +298,11 @@
*/
background: linear-gradient(to right, $white1 100%, transparent 0) no-repeat center center;
background-size: 1.2rem 1.4rem;
/* light mode */
@media (prefers-color-scheme: light) {
background: linear-gradient(to right, $white 100%, transparent 0) no-repeat center center;
background-size: 1.2rem 1.4rem;
}
}
}