From 46ebe978ae44a27e38a1acd6b41a9ae5e037b484 Mon Sep 17 00:00:00 2001 From: Joe Koop Date: Thu, 9 Jun 2022 09:16:43 -0500 Subject: [PATCH] feat: add basic dark theme (#29) --- assets/index.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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