[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

@ -34,6 +34,9 @@
/* dark blues */
--gray2: #29485A; /* black forest blue */
--gray4: #2B3246; /* vintage dark blue */
/* enforce dark mode style */
--white1: #fafaff;
--white2: #b3b5c6;
/* statuses */
--status-bg: var(--dgreen1);
--status-focus-bg: var(--dgreen1);
@ -87,6 +90,12 @@ box-shadow: none; /* no "glow" for buttons */
border-top: 0.1rem solid var(--sunny);
}
/* RSS icon */
.profile .statuses .rss-icon .fa {
background: linear-gradient(to right, var(--gray2) 100%, transparent 0) no-repeat center center;
background-size: 1.2rem 1.4rem;
}
/* Block quotes */
blockquote {
background-color: var(--quotebg);