postcss-svg
postcss-svg copied to clipboard
PostCSS plug-in which to insert inline SVG to CSS and allows you to manage it colors.
Fixes #43
**What did I do?** I was trying to run `postcss-svg` over a FontAwesome `.css` file (see https://use.fontawesome.com/releases/v5.8.1/css/all.css for an example). It has a bunch of `@font-face` definitions at the end...
We all know it, FontAwsome requires to download hundreds of glyphs, just to display two or three of them. A waste of bandwidth and processing time, and a pain in...
The documentation on http://pavliko.github.io/postcss-svg/ indicates that the plugin uses an `svg()` function for replacement, but this documentation (and the plugin itself) uses `url()`. The website also indicates this function name...
```svg .cls-1{fill: var(--color-primary, #000);} .cls-2{fill: #fff;} ``` Configuring `--color-primary` has no effect.