I'm opening this more as a 'forum thread' than 'issue' for general discussion. http://drupal.org/node/1445974, http://drupal.org/node/1438324, etc show interesting in using the ruby compiler alongside the other aspects of the Sasson theme.

There'd be two broad approaches I guess - installing ruby/gem/compass on a local machine, compiling to CSS then putting that on the live site, and then having the ruby compiler on the server itself compiling SASS/SCSS on demand.

Comments

tsi’s picture

Very interesting issue.
I believe it would be better to compile on the local machine and push css only, since no one is going to modify the sass/scss on the remote server (hopefully), in this case you will only call css files from your .info files.
In most cases, this workflow should be simple enough (even windows users have a ruby installer) but I would like to hear what other people experience, and what Sasson can do in order to make this even simpler.

erutan’s picture

That was my thought as well.

The only possible snag could be including your liquid 960 inside a fresh sass/compass setup. I'm not sure it makes sense to plan for this in the default theme, or if there are any other little things to be aware of, but once I try it I'll write up the steps I took.

taking a little time to get to know sass/compass a little better now that I've played with it.
https://github.com/ntreadway/responsive-sass and https://github.com/ericam/compass-susy-plugin look interesting, but I don't see any massive advantage over a liquid 960.

tsi’s picture

actually 960gs is not part of compass (and doesn't depend on it) so no hack here.

erutan’s picture

Sorry to have let this languish, I've not needed the full ruby compiler enough to switch over on the work I'm doing with Sasson so I don't have that much to say. You mentioned in another thread that you were working on adding in support for the ruby compiler natively in an upcoming release, so you can close this for cleanliness if you wish. :)

tsi’s picture

I'll close this when the integration with the ruby compiler will be completed and documented here :)
BTW work is public and is done in the compasscompile branch.

BarisW’s picture

I could use some info here. I'm used to use CodeKit as Compass/SASS compiler and this works fine. For the next project I try to use Sasson as base theme. I've followed the docs and created my child theme.

All works fine, until I uncheck the box "Compile SASS / SCSS to CSS". When I do this, mixins as grid() cannot be used anymore from my theme. What do I need to do to load sassons mixins from my own compiler?

tsi’s picture

Status: Fixed » Active

Check out the brand new Sasson v3.x - The new release compiles Sass using the original Compass compiler, though the built-in PHP compiler is still in place, it is recommended to have Compass and Sass (v3.2+) installed, Sasson will automatically detect and use them - you don't need to set up a compass project, you don't need to compass watch - just write code.

tsi’s picture

Status: Active » Fixed

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.