Skip to content

Commit de06201

Browse files
committed
Use system default for scrollbars in dark mode.
1 parent 9e1fca3 commit de06201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/App.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
}
4242

4343
:root {
44+
color-scheme: light;
4445
--background: hsl(0 0% 100%);
4546
--foreground: hsl(0 0% 10%);
4647
--card: hsl(0 0% 100%);
@@ -82,6 +83,7 @@
8283
}
8384

8485
.dark {
86+
color-scheme: dark;
8587
--background: hsl(0 0% 7%);
8688
--foreground: hsl(0 0% 90%);
8789
--card: hsl(0 0% 9%);

0 commit comments

Comments
 (0)