Skip to content

Commit e93cffa

Browse files
authored
Merge pull request #41 from oasisprotocol/lw/color-scheme
Fix native color scheme (primarily affects scrollbar color)
2 parents eeed0db + 3c791ea commit e93cffa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/styles/global.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@custom-variant dark (&:is(.dark *));
55

66
:root {
7+
color-scheme: light;
78
--background: hsl(0 0% 100%);
89
--foreground: hsl(240 6% 10%);
910
--card: hsl(0 0% 98%);
@@ -45,6 +46,7 @@
4546
}
4647

4748
.dark {
49+
color-scheme: dark;
4850
--background: hsl(240 10% 4%);
4951
--foreground: hsl(0 0% 98%);
5052
--card: hsl(240 6% 10%);

0 commit comments

Comments
 (0)