Skip to content

Instantly share code, notes, and snippets.

@nathansmith
Created August 29, 2011 21:00
Show Gist options
  • Star 69 You must be signed in to star a gist
  • Fork 28 You must be signed in to fork a gist
  • Save nathansmith/1179395 to your computer and use it in GitHub Desktop.
Save nathansmith/1179395 to your computer and use it in GitHub Desktop.
Example config.rb file for Compass
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
@asilvino
Copy link

asilvino commented Sep 3, 2015

thanks man! that was reallllyyy helpfull!

@brandonsueur
Copy link

Thanks!

@Sangeethaself
Copy link

Thanks

@zerefdev
Copy link

zerefdev commented Oct 3, 2017

Thanks

@dupls
Copy link

dupls commented May 30, 2018

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