浏览代码

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,
             }
         )