Created
August 29, 2011 21:00
-
-
Save nathansmith/1179395 to your computer and use it in GitHub Desktop.
Example config.rb file for Compass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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/
sass_path = File.dirname(FILE)
css_path = File.join(File.dirname(FILE), "..", "css")
environment = :development
output_style = :compressed
thanks man! that was reallllyyy helpfull!
Thanks!
Thanks
Thanks
I would rather suggest that you have this file created automatically. From the terminal in your theme folder run compass init
. When the config.rb file is created, you can open and check your paths.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do it from the Command Prompt, say when you type
or
Just add...
to the tail