Skip to content

The Open Standard for Generative UI

fix: remove dark mode styles from global CSS (#122)

Hrijul Bhatnagar7f30189b41bb
diff --git a/docs/components/Steps/Steps.module.css b/docs/components/Steps/Steps.module.css
index 9b918b0a8..82f631273 100644
--- a/docs/components/Steps/Steps.module.css
+++ b/docs/components/Steps/Steps.module.css
@@ -67,7 +67,7 @@
);
}
-@media (prefers-color-scheme: dark) {
+html[data-theme="dark"] {
.stepNumberBadge {
background: var(--dark-mode-background);
color: var(--dark-mode-text);
diff --git a/docs/src/pages/globals.css b/docs/src/pages/globals.css
index 7caae9298..6a2c22ef2 100644
--- a/docs/src/pages/globals.css
+++ b/docs/src/pages/globals.css
@@ -29,9 +29,3 @@ a {
color: inherit;
text-decoration: none;
}
-
-@media (prefers-color-scheme: dark) {
- html {
- color-scheme: dark;
- }
-}
\ No newline at end of file