postcss / sugarss

Indent-based CSS syntax for PostCSS
MIT License
708 stars 39 forks source link

transition: opacity #53

Closed alexeyMohnatkin closed 7 years ago

alexeyMohnatkin commented 7 years ago

When I'm trying to set transition: opacity I get error:

Module build failed: TypeError: Cannot read property 'input' of null.

The same with transition-property: opacity

ai commented 7 years ago

Give me full error stack trace, PostCSS plugins list and how you run SugarSS/PostCSS.

I think it is not related with SugarSS. But maybe we see a Autoprefixer issue here. Or it is Autoprefixer/SugarSS conflict.

alexeyMohnatkin commented 7 years ago

Error in ./src/css/app.sss Module build failed: TypeError: Cannot read property 'input' of null @ ./src/css/app.sss 4:14-137 13:2-17:4 14:20-143

The problem appears when I include postcss-colour-functions in postcss plugins

ai commented 7 years ago

Could you create small test project?

alexeyMohnatkin commented 7 years ago

https://github.com/alexeyMohnatkin/sss-opacity-issue

ai commented 7 years ago

The problem was in postcss-colour-functions. I sent a PR: https://github.com/BHouwens/postcss-colour-functions/pull/2

alexeyMohnatkin commented 7 years ago

Thank you!