postcss / sugarss

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

postcss-import working? #45

Closed FezVrasta closed 8 years ago

FezVrasta commented 8 years ago

I tried postcss-import with SugarSS and it seems to work just fine. What's up?

ai commented 8 years ago

postcss-import is W3C spec polyfill, so it will not compile SugarSS. You need to take https://github.com/TrySound/postcss-easy-import

ai commented 8 years ago

@TrySound maybe you could help and add postcss-easy-import example to SugarSS docs? :)

FezVrasta commented 8 years ago

No the concern is that postcss-import actually works.

ai commented 8 years ago

¯(ツ)

FezVrasta commented 8 years ago

Care to elaborate? 😅

FezVrasta commented 8 years ago

I tried importing a file like this:

// some comments
// here and there
$var1: red
$var2: white

And it compiled just fine. Logically I also used postcss-simple-vars