Skip to content

Fixed icons that were incorrectly getting a fill when was applied #310

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

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

ericsoderberghp
Copy link
Contributor

When grommet-icons do not have color="plain", the underlying stroke and fill present on any child of the <svg /> is reset to inherit. If color="plain", then fill is untouched and the default is to fill the path, which was happening on a few of the icons. These changes explicitly set fill="none" on the icons having this issue. It's semantically correct as we don't want any fill on those paths.

Fixes issue #275.

@ericsoderberghp ericsoderberghp requested a review from taysea March 29, 2023 23:01
@ericsoderberghp ericsoderberghp linked an issue Mar 29, 2023 that may be closed by this pull request
Copy link
Collaborator

@taysea taysea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix, thank you!

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.

Grommet Icon site renders certain icons as filled
2 participants