Skip to content

Commit

Permalink
fix(ui): use dark scheme for browser built-in inputs/scrolls in dark …
Browse files Browse the repository at this point in the history
…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 <rdmytrenko@gmail.com>
  • Loading branch information
erka committed Nov 8, 2024
1 parent e3a4769 commit 94f8b85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/assets/colors/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 94f8b85

Please sign in to comment.