WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
I love what you did with svg-inline-loader. I am using it now to load icons into my application.
I am styling the icons with CSS, but until the CSS loads they come out oddly sized and not the color I need them to be. I understand I can go in and change the attributes in the svg files, but sometimes I am using the same file with different styles. It would be really cool to be able to do require('icon.svg?height=32px&width=32px&fill=#ff000'); and have SVG add the height and width to the SVG tag, and the fill to each path tag.
Is this something that might be a feature in the future?
rob2d, rmunch, instant1100, alinnert, adixon-adobe and 1 more