svgo
svgo copied to clipboard
Add hsl() support
Add HSL support, closes #1468
Hi! hsl() function has different syntaxes and might contain different units.
The regexp you added doesn't process alpha values, hsla prefix, deg and rad units, modern slash syntax, etc.
So it can be improved, but it is still valuable as it is. In case the regex does not match, it just doesn't transform it and leaves it as it is.
@TrySound Can you fix and merge this?