wearejh / easy-svg Goto Github PK
View Code? Open in Web Editor NEWA complete svg + symbols workflow
A complete svg + symbols workflow
Hey Shane!
This is a great package and is easy indeed, however I find that it's a tad aggressive for our needs. We have multicolour SVG on some of our icons (controlled by variables) and we often need a fallback colour set within the SVG.
While it is usually ok to remove fill, it isn't in my use-case. I was wondering if you were open to get a PR adding for a way to change the options.
My broad idea would be to keep the defaults that you have, but make them overrideable so it keeps being easy in nature but can be extendable / changed if needed.
If you're indeed open to the idea let me know and I'll make sure you get the PR.
Thanks!
For example, the ID property here never makes it into the SVG builder instance
vfs.src("icons/*.svg")
.pipe(svg.stream({
id: "icon-%f"
}));
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.