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

Icons affecting each other's colors #26

Open
BekzodIsakov opened this issue Feb 16, 2023 · 1 comment
Open

Icons affecting each other's colors #26

BekzodIsakov opened this issue Feb 16, 2023 · 1 comment
Assignees
Milestone

Comments

@BekzodIsakov
Copy link

When several icons are rendered on the same page, they are changing each other's colors. I think this is happening due to different icons using the same id values. I changed id values, and it fixed the problem.

Issue:
SVG-1: <defs> <linearGradient id='a'></linearGradient> <path fill='url(#a)'></path> </defs>
SVG-2: <defs> <linearGradient id='a'></linearGradient> <path fill='url(#a)'></path> </defs>

Fix:
SVG-2: <defs> <linearGradient id='a.1'></linearGradient> <path fill='url(#a.1)'></path> </defs>

@basmilius basmilius self-assigned this Jun 30, 2024
@basmilius basmilius added this to the v3.0 milestone Jun 30, 2024
@basmilius
Copy link
Owner

Sorry for the late reply, this will be fixed in the upcoming v3 release.

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

No branches or pull requests

2 participants