vault-development / react-native-svg-uri

Render SVG images in React Native from an URL or static file
849 stars 334 forks source link

proposition of feature : change fill colors for svg imported by source #85

Open CYB3RL1F3 opened 6 years ago

CYB3RL1F3 commented 6 years ago

Using external svg files (monochromatic), I added the possibility to change the fill color.

I also added the possibility to change one (or various) colors for multicolor files.

Next step : manage the case when there is no "fill" property in the svg file (to setup the color).

I implemented it for my personal use but think it could be useful for everyone.