Closed vjee closed 2 years ago
I'm having the same issue. It looks like when used via postcss-preset-env
the lab/lch
function isn't able to parse the first param as a percentage, and only works in the older format without.
@vjee Is this still an issue with the latest versions? If so can you provide an example input?
@romainmenke It seems to work just fine now! Here's an example: https://runkit.com/embed/kfsp7ev1rmr9 Thanks for checking this issue out. It can be closed as far as I'm concerned :)
When setting
stage
to2
as to be able to uselch()
, it's not being transformed. Neither when settinglab-function
(same plugin) totrue
infeatures
.When manually using
postcss-lab-function
however, it works as expected.