Skip to content

Use regex for svgo’s currentColor replacement - #315

Merged
swissspidy merged 1 commit into
masterfrom
fix/svgo-config
Feb 14, 2020
Merged

swissspidy merged 1 commit into
masterfrom
fix/svgo-config

Conversation

@swissspidy

Copy link
Copy Markdown
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
8 of 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