feat: add basic dark theme (#29)

This commit is contained in:
Joe Koop 2022-06-09 09:16:43 -05:00 committed by GitHub
parent e01f2030e1
commit 46ebe978ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,3 +173,39 @@ body {
.uploader { .uploader {
padding-right: 1em; padding-right: 1em;
} }
/* dark theme */
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
}
html,
.breadcrumb>b,
.searchbar #search {
color: #fff;
}
.uploaders-table th,
.paths-table th {
color: #ddd;
}
svg,
.path svg {
fill: #d0e6ff;
}
.searchbar {
background-color: #111;
border-color: #fff6;
}
.searchbar svg {
fill: #fff6;
}
.path a {
color: #3191ff;
}
}