Doesn't handle transparent as a color
feimosi opened this issue · 2 comments
feimosi commented
I'm generating themes dynamically with PostCSS. Sometimes I have to use a transparent color to hide some part e.g. border
border-color: color-mod($border shade(10%));
// resolved to:
border-color: color-mod(transparent shade(10%));but it fails inside the code-mod with the following error:
Module build failed: Syntax Error
(11:29) Expected a color
jonathantneal commented
Thanks for reporting this, @feimosi. It’s been fixed in 3.0.1! 🎉
feimosi commented
Thanks a lot! 🎉