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

Add fill="currentColor" to icons #1

Merged
merged 1 commit into from
Jul 6, 2020
Merged

Conversation

imacrayon
Copy link
Contributor

I've added a fill="currentColor" attribute to all icons so that this icon set can be swapped out with the default Zondicon & Heroicon sets without any additional changes.

Without this attribute all Eva icons require a fill color to be explicitly set or else they default to black. Now the icons will inherit the text color of their parent elements.

There are also some <g data-name="Layer2"> and <rect opacity="0"> tags in many of the icons. The don't provide any visuals and just dirty up the SVG markup, so I removed them.

@Hasnayeen Hasnayeen merged commit 54929d4 into Hasnayeen:master Jul 6, 2020
@Hasnayeen
Copy link
Owner

Thanks for the PR

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.

None yet

2 participants