Skip to content

Commit f788586

Browse files
committed
fix: dark theme colors
1 parent c8d5555 commit f788586

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/app.css

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,13 @@ html {
8282
--primary: #4f46e5 !important;
8383
}
8484

85-
/* Ensure our root colors are preserved */
86-
:root,
87-
html,
88-
body {
85+
/* Ensure our root colors are preserved, but respect dark mode */
86+
:root {
8987
--primary: 341 91% 43% !important;
90-
--foreground: 0 0% 3.9% !important;
9188
--primary-foreground: 0 0% 98% !important;
9289
}
9390

94-
.dark {
95-
--foreground: 0 0% 98% !important;
91+
/* Only override foreground for light mode */
92+
:root:not(.dark) {
93+
--foreground: 0 0% 3.9% !important;
9694
}

0 commit comments

Comments
 (0)