Merge pull request #104 from TotalCaesar659/dark-mode

Add Dark Mode support
This commit is contained in:
ray-lothian 2020-10-04 11:13:56 +02:00 committed by GitHub
commit 52cb277466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -107,3 +107,16 @@ textarea {
padding: 10px;
margin: 15px 0;
}
@media (prefers-color-scheme: dark) {
body,
textarea,
.note {
background-color: #313131;
color: #bfbfbf;
}
.admin {
background-color: #545709;
color: #bfbfbf;
}
}

View file

@ -249,3 +249,15 @@ body[data-android="true"] [data-cmd="window"] {
.hide {
visibility: hidden;
}
@media (prefers-color-scheme: dark) {
body,
th,
select,
input,
#view,
table {
background-color: #313131;
color: #bfbfbf;
}
}