iconoir-icons / iconoir

An open source icons library with 1500+ icons, supporting React, React Native, Flutter, Vue, Figma, and Framer.

Home Page:https://iconoir.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Dynamic Icon Coloring with CSS currentColor Integration

PrajwalSh0206 opened this issue · comments

Is your feature request related to a problem? Please describe.
I have been using icons from Iconoir, but I encounter a problem when I try to change their colors using CSS. The changes do not reflect.

Describe the solution you'd like
I suggest using currentColor instead of a hexadecimal color code. This approach allows the icons to inherit the text color from their parent elements, making it more dynamic and adaptable for various uses.

Additional context
Add any other context or screenshots about the feature request here.
Exisiting One:
image

Changes To Be Considered:
image

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar