Przeglądaj źródła

fix color of icon to match theme (#2488)

Thomas Brandého 1 rok temu
rodzic
commit
1d6da9010e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      reflex/components/lucide/icon.py

+ 1 - 1
reflex/components/lucide/icon.py

@@ -63,7 +63,7 @@ class Icon(LucideIconComponent):
     def _apply_theme(self, theme: Component | None):
         self.style = Style(
             {
-                "color": f"var(--accent-12)",
+                "color": f"var(--current-color)",
                 **self.style,
             }
         )