Skip to content

Commit

Permalink
Add auto dark mode loader screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Reckless-Satoshi committed Sep 20, 2022
1 parent 3a07028 commit e4ddeea
Show file tree
Hide file tree
Showing 2 changed files with 330 additions and 312 deletions.
18 changes: 18 additions & 0 deletions frontend/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ body {
font-family: 'Roboto';
}

@media (prefers-color-scheme: dark) {
body {
background: rgb(0, 0, 0);
}
.loaderSpinner {
color: #90caf9;
}
.loaderSpinner:before{
background: rgb(0, 0, 0);
}
.loaderSpinner:after{
background: rgb(0, 0, 0);
}
.slider{
color: #fff;
}
}

#main {
position: fixed;
width: 100%;
Expand Down
Loading

0 comments on commit e4ddeea

Please sign in to comment.