From 5863861486bdb1606944e80ba897ecffb57b8c86 Mon Sep 17 00:00:00 2001 From: TotalCaesar659 <14265316+TotalCaesar659@users.noreply.github.com> Date: Thu, 7 May 2020 00:44:23 +0300 Subject: [PATCH] Add Dark Mode support --- pages/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/styles.css b/pages/styles.css index 0d5b533..037552c 100644 --- a/pages/styles.css +++ b/pages/styles.css @@ -273,3 +273,10 @@ li { cursor: pointer; 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; +} +}