Active
Project:
SASS / SCSS
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Oct 2011 at 22:12 UTC
Updated:
12 Sep 2012 at 00:04 UTC
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
Comment #1
eMPee584 commentedThe 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.
Comment #2
maciej lukianski commentedThis would be a great feature to allow customisable sass files source directory.
Comment #3
maciej lukianski commentedComment #4
zymphonies-dev commentedyou 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
Comment #5
danieljb commentedMerely 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?