소스 검색

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