Using variables possible?
nevace opened this issue · comments
Liam Neville commented
Hello,
Would it be possible to add support for variables in place of the value. As far as I'm aware it doesn't work but I'm not sure it would even be possible either. I think plugin order would be an issue.
Thanks,
Max Thirouin commented
You should add https://github.com/postcss/postcss-custom-media before this plugin.
Liam Neville commented
I have this but was trying something like this..
$tablet: 540px
@Custom-Media --tablet-above (width >= $tablet);
I have the precss set of plugins.
Max Thirouin commented
precss probably doesn't handle @custom-media
. You should open an issue over there.
Liam Neville commented
Ok thanks.