diff --git a/assets/index.css b/assets/index.css index 8340d85..9a0fe00 100644 --- a/assets/index.css +++ b/assets/index.css @@ -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; + } +} \ No newline at end of file