We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
color-scheme
1 parent feb55b3 commit 4621314Copy full SHA for 4621314
src/style/core.ts
@@ -30,6 +30,10 @@ const root = css`
30
--rdg-row-selected-hover-background-color: light-dark(hsl(207deg 76% 88%), hsl(207deg 76% 38%));
31
--rdg-checkbox-focus-color: hsl(207deg 100% 69%);
32
33
+ /* We do not use the "light dark" value here,
34
+ * otherwise it would not respect setting color-scheme on a parent element */
35
+ color-scheme: light-dark(light, dark);
36
+
37
&.rdg-dark {
38
color-scheme: dark;
39
}
0 commit comments