Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: allow className and remove default color:currentColor #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fatso83
Copy link

@fatso83 fatso83 commented Feb 1, 2022

This PR allows styling icons using className. We use this for instance to use have a default color for all our icons that does not depend on the outer container. That means we also have to remove the default color:currentColor which would otherwise break it.

Also updates Icon package to v4 and React including v17

Can be tested like npm install @iconscout/react-unicons@diffia/react-unicons#diffia-releases

@fatso83 fatso83 changed the title Breaking: allow styling icons using className and remove default color:currentColor Breaking: allow className and remove default color:currentColor Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant