rbtech / gulp-css-purge

CSS-PURGE now comes in a flavor thats meant to be Gulped
MIT License
6 stars 1 forks source link

hsla saturation and lightness #1

Closed RoyBraggBroadridge closed 6 years ago

RoyBraggBroadridge commented 6 years ago

when hsla() or hsl() is used if the saturation and/or lightness has a value of 0% the output css removes value. hsla(0, 0%, 60%, 0.6) outputs to hsla(0,, 60%, 0.6) hsl(123, 10%, 0%) outputs to hsl(123,10%,,)

AndrewEQ commented 6 years ago

Hey @RoyBraggBroadridge, thanks for the feedback, will check it out and get back to ya.

AndrewEQ commented 6 years ago

Cool, found and fixed the issue: https://github.com/rbtech/css-purge/commit/a1f19d4564b423a8b2a513f4adf2610fc0f8fa4d#diff-e8acc63b1e238f3255c900eed37254b8