mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-03 03:43:17 -06:00
[feature/frontend] add light mode color scheme of base css, adapt to prefers-color-scheme (#3765)
This commit is contained in:
parent
a6d1f5bf2c
commit
42bbbaadb2
8 changed files with 80 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue