From 5523b345c7d18810db50ad156b53a09ed012ddef Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 22 Mar 2022 13:57:37 -0400 Subject: [PATCH] Fix epicker's transparency issue with dark theme Related discussion: - https://github.com/uBlockOrigin/uBlock-issues/discussions/1963#discussioncomment-2120210 Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2062 --- src/css/themes/default.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/css/themes/default.css b/src/css/themes/default.css index 26ba58093..f2443b78b 100644 --- a/src/css/themes/default.css +++ b/src/css/themes/default.css @@ -299,8 +299,6 @@ /* https://material.io/design/color/dark-theme.html */ :root.dark { - color-scheme: dark; - --elevation-down-surface: black; --elevation-down1-opacity: 16%; --elevation-down2-opacity: 32%; @@ -373,6 +371,12 @@ --logger-redirected-surface: rgb(var(--yellow-5) / 40%); } +:root.dark input, +:root.dark select, +:root.dark textarea { + color-scheme: dark; +} + /* * Shared declarations * */