Add Dark Mode support
This commit is contained in:
parent
8064f6c670
commit
bb292e031c
2 changed files with 25 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue