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

Remove the fill attribute from all icons #488

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

Windvis
Copy link
Contributor

@Windvis Windvis commented Mar 27, 2024

The fill attribute prevents the icon from receiving the proper coloring. This wasn't an issue in the symbolset version because svg-symbols strips the attribute.

Part of #482

@Windvis Windvis added the bug Used when the PR fixes a bug included in a previous release. label Mar 27, 2024
@@ -1,5 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This one wasn't really a problem since we also use currentColor but it seemed better to remove it for consistency.

The fill attribute prevents the icon from receiving the proper coloring. This wasn't an issue in the symbolset version because svg-symbols strips the attribute.
@Windvis Windvis force-pushed the fix/icon-components-with-fill branch from e0691b1 to 55ad8a2 Compare March 27, 2024 13:42
@Windvis Windvis mentioned this pull request Mar 27, 2024
6 tasks
@Windvis Windvis merged commit b461d2f into master Mar 27, 2024
8 checks passed
@Windvis Windvis deleted the fix/icon-components-with-fill branch March 27, 2024 16:41
@Windvis
Copy link
Contributor Author

Windvis commented Mar 27, 2024

Released in v3.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used when the PR fixes a bug included in a previous release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant