Open pierluigi opened 8 years ago
Hi @pierlo-upitup. I think the problem is only related to the apostrophes.
Have you tried @import theme(colors);
?
Error:
@import theme(colors);
^
@import directive requires a url or quoted path
I believe the problem is postcss-theme
is run after sass in my case. I will double-check.
Yeah, that would explain the issue 😉
Worst case: You need to run PostCSS before and after SASS.
@pierlo-upitup Any updates on this?
Wouldn't it make sense to simply allow something like
@import theme(colors)
? We rely onpostcss-css-variables
and we don't needpostcss-modules-values
, so we'd simply like this plugin to inject the correct theme folder path.This is the error
Any thoughts?