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

This commit is contained in:
CDN 2025-02-09 19:22:41 +08:00 committed by GitHub
commit 42bbbaadb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;
}
}
}