Skip to content

Instantly share code, notes, and snippets.

@sanguis
Created May 31, 2012 18:47
Show Gist options
  • Save sanguis/2845349 to your computer and use it in GitHub Desktop.
Save sanguis/2845349 to your computer and use it in GitHub Desktop.
scss config
#
# This file is only needed for Compass/Sass integration. If you are not using
# Compass, you may safely ignore or delete this file.
#
# If you'd like to learn more about Sass and Compass, see the sass/README.txt
# file for more information.
#
# Change this to :production when ready to deploy the CSS to the live server.
environment = :development
#environment = :production
# In development, we can turn on the FireSass-compatible debug_info.
firesass = false
#firesass = true
# Location of the theme's resources.
css_dir = "css"
sass_dir = "sass"
extensions_dir = "sass-extensions"
images_dir = "images"
javascripts_dir = "js"
# Require any additional compass plugins installed on your system.
#require 'ninesixty'
#require 'zen-grids'
##
## You probably don't need to edit anything below this.
##
# 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. Since Drupal
# themes can be installed in multiple locations, we don't need to worry about
# the absolute path to the theme from the server root.
relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false
# Assuming this theme is in sites/*/themes/THEMENAME, we can add the Drupal
# root, sites/all and sites/default directories to the Sass import path using
# add_import_path. Paths added first are used before paths added later.
add_import_path "../../../default"
add_import_path "../../../all"
add_import_path "../../../.."
# Pass options to sass. For development, we turn on the FireSass-compatible
# debug_info if the firesass config variable above is true.
sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment