Skip to content

Instantly share code, notes, and snippets.

@visioncan
Last active October 12, 2015 04:28
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 visioncan/3971170 to your computer and use it in GitHub Desktop.
Save visioncan/3971170 to your computer and use it in GitHub Desktop.
compass config
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "assets/css"
sass_dir = "sass"
images_dir = "assets/img"
javascripts_dir = "assets/js"
# environment :production / development
environment = :production
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
output_style = (environment == :development) ? :expanded : :compressed
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = false
sass_options = (environment == :development) ? {:debug_info => true} : {}
# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment