roborourke / wp-sass

Sass for WordPress
90 stars 24 forks source link

Using Compass and Add-Ons #7

Open ghost opened 12 years ago

ghost commented 12 years ago

Is it possible to use Compass with wp-sass? If so, is there anything special that I need to do or does it just work out of the box?

Similarly, is it possible to use Sass/Compass add ons (like Fancy Buttons) - if so, how?

Thanks in advance :).

roborourke commented 12 years ago

I'll be honest I've not tested it. I assume compass is a bit like bootstrap so you just @import the main dependency and any addons you want.

I'm super swamped at the mo (12 hour days!) but I'll try and have a play with it soon.

ericpedia commented 12 years ago

I'm also curious about whether it's possible to somehow use Compass with this.

ericpedia commented 11 years ago

According to the internet, PHPSass now supports Compass (it is included in the PHPSass repo as an extension: https://github.com/richthegeek/phpsass/tree/master/Extensions). But it appears to require some code to load the extension, which I can't quite figure out. Has anyone set this up with WP-Sass, or directly with PHP-Sass for that matter? The documentation is sparse.

facelordgists commented 11 years ago

I've wasted a bunch of time trying to figure this out so far. But I'm gonna put a couple more hours into it. If I can get it working, I'll post my results here. If someone else has figured it out, please let us know.

roborourke commented 11 years ago

Thanks for putting the time in Milo. I'm away at the moment but will take a look at getting compass working when I'm back in a few weeks. Ill keep an eye in this thread in the meantime.

Robert O'Rourke sanchothefat.com +44 7816 329424

facelordgists commented 11 years ago

I managed to get it working last night after many hours of tears and sweat, and the help of a friend who is far smarter than me. I'll clean up my code, do a little bit more testing, then see if I can figure out how to make a pull request so everyone can benefit.

roborourke commented 11 years ago

Awesome! Ill be happy to help you with that in any way I can.

Robert O'Rourke sanchothefat.com +44 7816 329424

milojennings commented 11 years ago

Accidently left those previous comments using my gists only account "facelordgists". I managed to figure out how to do pull requests, and added my code. Hope it works for everyone else.