Does anyone have made it work with a Zen 5.x Sub Theme? This version of Zen has SASS files in a separate folder.
Anyway I couldn't even made this module work at all - It doesn't make the SASS files nor show any error...

Comments

eMPee584’s picture

The Zen sub theme expects you to use the compass command line utility by hand.
Don't know about this module, but with sassy you're supposed to be able to directly put SASS/SCSS files into your theme's info file. You should very easily be able to convert zen's sass theme to that by replacing .css to .scss in the info file.

maciej lukianski’s picture

Title: Using with Zen 5.x » Allow SCSS files in differenc directory (Using with Zen 5.x)
Component: Documentation » Code
Category: support » feature

This would be a great feature to allow customisable sass files source directory.

maciej lukianski’s picture

Title: Allow SCSS files in differenc directory (Using with Zen 5.x) » Allow SCSS files in different directory (Using with Zen 5.x)
zymphonies-dev’s picture

Assigned: Unassigned » zymphonies-dev

you can keep .scss file in one folder and .css file in different folder and run sass based on that path
example:

create two folder "sass" and "css"
.scss file added in "sass" folder and .css file compiled in "css" folder

sass --watch sass:css

danieljb’s picture

Merely changing the .css to .scss in the info file won't work.
I hacked the module a little bit to get this to work (zen/sass).

In sass.module
changed line 58:
$scss = str_replace('.css', '.' . $SassParser_config['syntax'], $stylesheet);
to:
$scss = str_replace('css', $SassParser_config['syntax'], $stylesheet);

and also changed the name of the theme directory "sass" to scss.

Now it tries to parse, but there's a plethora of phampl errors that seem to stem from the use of psuedo-classes and certain types of comments in the scss files. This is frustrating. Why is phpampl not up-to-date?