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

Feature request: change svg fill to currentColor optionally #61

Closed
kirylrb opened this issue Oct 16, 2015 · 2 comments
Closed

Feature request: change svg fill to currentColor optionally #61

kirylrb opened this issue Oct 16, 2015 · 2 comments
Assignees
Labels

Comments

@kirylrb
Copy link

kirylrb commented Oct 16, 2015

It will be nice if script could optionally change svg fill to 'currentColor', so it will be possible to change svg color easy with css styles.

@jkphl jkphl self-assigned this Oct 16, 2015
@jkphl
Copy link
Collaborator

jkphl commented Oct 16, 2015

I'm sorry but it's definitely out of svg-sprite's scope to alter the SVG files, at least on a builtin support level. However, you have several options for this:

  1. Prepare your SVG files before processing them with svg-sprite.
  2. Use one of the many available SVG packages out there to pre- or post-process the SVG files.
  3. Use svg-sprite's shape or post-processing support for writing code doing what you desire.

Cheers, Joschi

@jkphl jkphl closed this as completed Oct 16, 2015
@jkphl jkphl added the wontfix label Oct 16, 2015
@kirylrb
Copy link
Author

kirylrb commented Oct 16, 2015

Yep, thats clear now.
Thanks for expanded answer. Nice day to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants