ソースを参照

fix color of icon to match theme (#2488)

Thomas Brandého 1 年間 前
コミット
1d6da9010e
1 ファイル変更1 行追加1 行削除
  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,
             }
         )