From 30d7570bae57d97e906f5389a1b7e827455a719f Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Thu, 12 Dec 2019 11:55:10 +0000 Subject: Dark theme support --- css/popup.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'css/popup.css') diff --git a/css/popup.css b/css/popup.css index 83311af..0d774aa 100644 --- a/css/popup.css +++ b/css/popup.css @@ -47,3 +47,33 @@ label { top:1px; } } + + +@media (prefers-color-scheme: dark) { + + html { + background: rgb(52,53,56); + color: #ddd; + } + + h1 { + color: white; + } + + label { + color: #eee; + } + th { + color: white; + font-weight: normal; + } + + .disabled span { + color: rgb(252,87,84); + } + button { + background-color: rgb(32,33,36) !important; + border: solid 1px #777 !important; + color: #eee; + } + } -- cgit v1.2.3