haithembelhaj / sass-inline-svg

node-sass function that inlines SVG files
22 stars 22 forks source link

only pass alpha value to fill colour if it is non-1 #10

Closed thomas-mcdonald closed 6 years ago

thomas-mcdonald commented 6 years ago

this enables better performance by the optimiser - if an alpha value is present SVGO will not attempt to minimise it.

in the best case, this enables rgba(255,255,255,1) -> #fff

fixes #9

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 21


Totals Coverage Status
Change from base Build 20: 0.5%
Covered Lines: 56
Relevant Lines: 59

💛 - Coveralls
haithembelhaj commented 6 years ago

Great thanks!!!