Browse Source

fix color of icon to match theme (#2488)

Thomas Brandého 1 year ago
parent
commit
1d6da9010e
1 changed files with 1 additions and 1 deletions
  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):
     def _apply_theme(self, theme: Component | None):
         self.style = Style(
         self.style = Style(
             {
             {
-                "color": f"var(--accent-12)",
+                "color": f"var(--current-color)",
                 **self.style,
                 **self.style,
             }
             }
         )
         )