Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Example config.rb file for Compass

View config.rb
1 2 3 4 5 6 7 8 9
preferred_syntax = :sass
http_path = '/'
css_dir = 'assets/stylesheets'
sass_dir = 'assets/sass'
images_dir = 'assets/images'
javascripts_dir = 'assets/javascripts'
relative_assets = true
line_comments = true
# output_style = :compressed

This is great, I've been hunting for an example file for so long! Can't believe the Compass docs don't have more

Thanks !

Thanks!

Thank you

what about haml integration with compass, couold you post some simple exmaple?

Here is a link for those interested in all of the settable config.rb options:
http://compass-style.org/help/tutorials/configuration-reference/

BTW Compass will generate a config file for you when you 'compass create YourProject'

Would have been nice if you included a commented require = extension since that is not usually generated with compass create

How do you turn on the --trace option? Would this be done in the config.rb file, and if so, how exactly?

You can do it from the Command Prompt, say when you type

compass watch

or

compass compile

Just add...

compass compile --trace

to the tail

It looks like the above link for config.rb options no longer exists. Here is an updated URL: http://compass-style.org/help/documentation/configuration-reference/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.