PDA

View Full Version : custom theme - change default stylesheet template path?



seanbrookes
12 Apr 2012, 7:18 AM
I'm trying to adjust the location of the stylesheet source templates for a custom Compass/Sass theme but no matter what I change the compiler keeps looking for my templates in

/resources
/themes
/stylesheets


I want to change it to simply:
/resources
/stylesheets

but no luck

In my compasss.rb file I have the following line:

load File.join(File.dirname(__FILE__), $sjs_path, 'resources', 'themes')

It seems I can remove the 'themes' entry and it doesn't make any difference but if I try putting different values eg:
load File.join(File.dirname(__FILE__), $sjs_path, 'resources')
or
load File.join(File.dirname(__FILE__), $sjs_path, 'resources', 'stylesheets')

it fails saying it can't find my files.

I tried using the sass_dir property instead but it didn't seem to work either.

Any insight would be appreciated.