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

Use regex for svgo’s currentColor replacement #315

Merged
merged 1 commit into from
Feb 14, 2020
Merged

Conversation

swissspidy
Copy link
Collaborator

Only replace the color if it’s not “none” (default) or using pattern fills (using url(…)).

Before:

Screenshot 2020-02-13 at 14 25 07

After:

Screenshot 2020-02-13 at 14 24 18

See #244.

Only replace the color if it’s not “none” (default) or using pattern fills (using `url(…)`).
@swissspidy swissspidy added Type: Bug Something isn't working Type: Infrastructure Changes impacting testing infrastructure or build tooling labels Feb 13, 2020
@swissspidy swissspidy mentioned this pull request Feb 13, 2020
12 tasks
@swissspidy swissspidy merged commit 0587f89 into master Feb 14, 2020
@swissspidy swissspidy deleted the fix/svgo-config branch February 14, 2020 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working Type: Infrastructure Changes impacting testing infrastructure or build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants