Browse Source

feat: add basic dark theme (#29)

pull/30/head
Joe Koop 3 years ago committed by GitHub
parent
commit
46ebe978ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 36
      assets/index.css

36
assets/index.css

@ -173,3 +173,39 @@ body { @@ -173,3 +173,39 @@ body {
.uploader {
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;
}
}
Loading…
Cancel
Save