aboutsummaryrefslogtreecommitdiff
path: root/css/popup.css
diff options
context:
space:
mode:
authorEinar Egilsson <einar@einaregilsson.com>2019-12-12 11:55:10 +0000
committerEinar Egilsson <einar@einaregilsson.com>2019-12-12 11:55:10 +0000
commit30d7570bae57d97e906f5389a1b7e827455a719f (patch)
tree11c40a8bec95f62dc4740f74b7764f239dede27f /css/popup.css
parent31f1b675bf738f5905bf3f9e7dccf9515a471ec2 (diff)
Dark theme support
Diffstat (limited to 'css/popup.css')
-rw-r--r--css/popup.css30
1 files changed, 30 insertions, 0 deletions
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;
+ }
+ }