We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8d5555 commit f788586Copy full SHA for f788586
1 file changed
src/app.css
@@ -82,15 +82,13 @@ html {
82
--primary: #4f46e5 !important;
83
}
84
85
-/* Ensure our root colors are preserved */
86
-:root,
87
-html,
88
-body {
+/* Ensure our root colors are preserved, but respect dark mode */
+:root {
89
--primary: 341 91% 43% !important;
90
- --foreground: 0 0% 3.9% !important;
91
--primary-foreground: 0 0% 98% !important;
92
93
94
-.dark {
95
- --foreground: 0 0% 98% !important;
+/* Only override foreground for light mode */
+:root:not(.dark) {
+ --foreground: 0 0% 3.9% !important;
96
0 commit comments