mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 13:56:16 -06:00
[feature/frontend] add light mode color scheme of base css, adapt to prefers-color-scheme
This commit is contained in:
parent
e10de8464a
commit
670c0eb294
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