Add Dark Mode support

This commit is contained in:
TotalCaesar659 2020-05-07 00:44:23 +03:00 committed by GitHub
parent 4a08f5da8f
commit 5863861486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -273,3 +273,10 @@ li {
cursor: pointer; cursor: pointer;
border-radius: 50%; border-radius: 50%;
} }
@media (prefers-color-scheme: dark) {
body, body.popup, header, h1, input, a#more-options.button, div#general.tabcontent, div#advanced.tabcontent, select, div#whitelist.tabcontent, button#general-tab.tablinks.active, button#advanced-tab.tablinks.active, button#whitelist-tab.tablinks.active {
background-color: #313131;
color: #bfbfbf;
}
}