From 94f8b8525095f5257665b65d14e94f3c95d6907f Mon Sep 17 00:00:00 2001 From: Roman Dmytrenko Date: Fri, 8 Nov 2024 14:54:13 +0200 Subject: [PATCH] fix(ui): use dark scheme for browser built-in inputs/scrolls in dark mode UI uses some elements for input date, time, etc... They have extra icon which very hard to see in dark mode and their popups have white background. Signed-off-by: Roman Dmytrenko --- ui/src/assets/colors/dark.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/assets/colors/dark.css b/ui/src/assets/colors/dark.css index 983b915a42..8acfd5e4ca 100644 --- a/ui/src/assets/colors/dark.css +++ b/ui/src/assets/colors/dark.css @@ -30,6 +30,8 @@ --red-100: 127 29 29; --red-50: 127 29 29; + color-scheme: dark; + .shadow { --tw-shadow: 0 1px 3px 0 rgba(255, 255, 255, 0.1), 0 1px 2px 0 rgba(255, 255, 255, 0.06);