From 470f1029fcda81783c83c9ce02ce364d996e3c4c Mon Sep 17 00:00:00 2001 From: Joram Schrijver Date: Thu, 28 Apr 2022 00:59:16 +0200 Subject: [PATCH] Fix send-email helper details color in dark mode The collapsed summary color was low contrast, and the expanded summary color was almost invisible (black on dark gray). There currently is no uncolored text inside a details tag, but such text would also have been black. --- scss/main.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scss/main.scss b/scss/main.scss index a197920..b41d4ff 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -296,6 +296,18 @@ img { li { margin-top: 1rem; } + + @media(prefers-color-scheme: dark) { + color: $gray-500; + + &[open] { + color: $gray-100; + + summary { + color: $gray-100; + } + } + } } .event-list { -- 2.38.4