Closed jleppert closed 10 years ago
this would be really helpful. Can't work without compass
@chriseppstein Do you need any help with making Compass compatible with libsass?
@frewsxcv I need libsass to support Sass 3.3 features. That's the biggest blocker.
I also would like to libsass (to go with gulp) to support Sass 3.3 and preferably Compass. Would make my life so much easier. Because of so many caveats using with libsass only I'm now using gulp-ruby-sass.
@chriseppstein am I right in thinking the latest version of libsass (3.0) which targets Sass 3.4 should be sufficient for making Compass compatible?
+1
How's this doing? I'd be very excited to use libsass with compass. Compile times with ruby are killing me on Windows.
+1
+1
+1
+1
+1
using grunt-sass with compass-mixins as a Bower package worked well for me. See this how to, then look at comment #27 on this page: http://benfrain.com/lightning-fast-sass-compiling-with-libsass-node-sass-and-grunt-sass/ Seems to work fine as far as i can tell
Check out Wellington, it is a drop in replacement for Compass but is built with libsass. There's benchmarks comparing it to Compass and https://github.com/wellington/grunt-wellington for integrating Wellington with Grunt.
On OS X, install it with brew
brew install wellington
wt -h
wow, that looks really interesting as a temporarily solution until compass has been ported over. thanks for sharing @drewwells
+1 for this issue in general. But in the specific, I am looking for drop in replacements for these:
@import "compass/css3";
@import "compass/css3/user-interface";
@import "compass/css3/transform";
@import "compass/utilities/general/clearfix";
Does anybody know about compass support in general, to date? Is there support for the above?
I created Wellington as a libsass powered replacement for the spriting aspects of compass. You can install it with brew, more info here: https://github.com/wellington/wellington
For the compass mixins, there are sass libraries that emulate those ie. https://github.com/Igosuki/compass-mixins On Tue, May 5, 2015 at 2:35 PM Jerome Covington notifications@github.com wrote:
+1 for this issue in general. But in the specific, I am looking for drop in replacements for these:
@import "breakpoint"; @import "compass/css3"; @import "compass/css3/user-interface"; @import "compass/css3/transform"; @import "compass/utilities/general/clearfix";
Does anybody know about compass support in general, to date? Is there support for the above?
— Reply to this email directly or view it on GitHub https://github.com/sass/libsass/issues/82#issuecomment-99172341.
The official direction of the Libcompass project is a pivot from C to a Node Sass compatible core called Eyeglass
Most of the most popular Compass extensions will likely be ported to Eyeglass. Breakpoint will be (and is available now as a Bower install). With the Node pipeline, CSS3 mixins are generally handled through Autoprefixer. There are other Clearfix mixins, like the one provided by Toolkit (likewise Bower available, will be Eyeglass available).
Compass will never be compatible with Libsass. Compass pokes around in the Ruby Sass internals for some things which simply isn't possible with Libsass.
If you're just using the css3 and/or utility mixins then you can bower install compass and use the mixins directly. Alternatively I would recommend:
As @Snugug points out, over time more and more Compass functionality will be made available in node-sass via Eyeglass which is run by the author of Compass. More information in https://github.com/Compass/compass/issues/1916#issuecomment-95646204.
Is it possible (now or in the future) to use libsass with Compass? Compass does add a bunch of custom sass functions, and I'm wondering if it would be possible to call back into Ruby (using Ruby C API) for those functions (in lieu of writing all those functions in C)?