Skip to content

Instantly share code, notes, and snippets.

@nicdford
Created June 10, 2015 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicdford/93a2d21a4c95c297ba72 to your computer and use it in GitHub Desktop.
Save nicdford/93a2d21a4c95c297ba72 to your computer and use it in GitHub Desktop.
Compass Config file for SASS
# Compass is a great cross-platform tool for compiling SASS.
# This compass config file will allow you to
# quickly dive right in.
# For more info about compass + SASS: http://net.tutsplus.com/tutorials/html-css-techniques/using-compass-and-sass-for-css-in-your-next-project/
#########
# 1. Set this to the root of your project when deployed:
http_path = "/"
# 2. probably don't need to touch these
css_dir = "../"
sass_dir = "./"
images_dir = "../images"
javascripts_dir = "../js"
environment = :development
relative_assets = true
# 3. You can select your preferred output style here (can be overridden via the command line):
output_style = :expanded
# 4. When you are ready to launch your WP theme comment out (3) and uncomment the line below
# output_style = :compressed
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false
# don't touch this
preferred_syntax = :scss
css_dir = ".." # by Compass.app
sass_dir = "." # by Compass.app
images_dir = "../images" # by Compass.app
output_style = :expanded # by Compass.app
relative_assets = true # by Compass.app
line_comments = true # by Compass.app
sass_options = {:debug_info=>false} # by Compass.app
sourcemap = false # by Compass.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment