svg-extract-styles
v1.0.4
Published
Extracts fill & stroke into a css id selector named after the svg file.
Downloads
6
Readme
SVG EXTRACT STYLES🌟
This is a simple module that outputs the fill and stroke attributes in a CSS selector to aid in using svg symbols as icons.
Install
npm i svg-extract-styles --save-dev
Usage
svg-extract-styles ./directory-of-svgs > out.css