tj / styl

Flexible and fast modular CSS preprocessor built on top of Rework
529 stars 21 forks source link

@import rules #27

Open enyo opened 10 years ago

enyo commented 10 years ago

As far as I've seen @import doesn't work yet. Is there another way to do this other than concatenating my files? It would be great to have a compatibility table for stylus to see what is implemented in styl.

kevva commented 10 years ago

https://github.com/kevva/rework-inline

thedjpetersen commented 10 years ago

@kevva I am unable to get your plugin to parse styl files it throws an error wherever it tries to parse the css

thomas-rager commented 10 years ago

You can use all rework plugins with styl. I use rework-importer with the grunt-styl. Works fine for me..

Use the configure function to load the plugin (if you use grunt-styl).

     configure: function (styl) {
                    styl.use(PLUGIN);
     }

@thedjpetersen what error?

thedjpetersen commented 10 years ago

:+1: thanks so much!