Skip to content

Instantly share code, notes, and snippets.

@HoundstoothSTL
Created January 21, 2013 22:59
Show Gist options
  • Save HoundstoothSTL/4590312 to your computer and use it in GitHub Desktop.
Save HoundstoothSTL/4590312 to your computer and use it in GitHub Desktop.
Compass config file
# ==============================================================================
# REQUIRED 3RD PARTY COMPASS EXTENSIONS
# ==============================================================================
# ==============================================================================
# COMPASS PROJECT CONFIGURATION
# ==============================================================================
# Can be `:stand_alone` or `:rails`. Defaults to `:stand_alone`.
project_type = :stand_alone
# To enable relative paths to assets via compass helper functions. Please note
# that this will *only* allow you to use relative URLs for the image_url SASS
# function, and not compute relative URLs for you.
#
# Uncomment:
relative_assets = true
# Indicates whether line comments should be added to compiled css that says
# where the selectors were defined.
line_comments = false
# The output style for the compiled css. One of: `:nested`, `:expanded`,
# `:compact`, or`:compressed`.
output_style = :compact
# ==============================================================================
# COMPASS SOURCE DIRECTORY CONFIGURATION
# ==============================================================================
# Directory containing the SASS source files
sass_dir = "src/assets/sass"
# Directory where Compass dumps the generated CSS files
css_dir = "src/assets/css"
# Directory where font files use in font-face declarations are stored
fonts_dir = "src/assets/fonts"
# Directory where Compass stores the Grid image, and the sites images are stored
images_dir = "src/assets/images"
# Directory where the sites' JavaScript file are stored
javascripts_dir = "src/assets/scripts"
# ==============================================================================
# COMPASS TARGET DIRECTORY CONFIGURATION
# ==============================================================================
# The root of all operations, must be set for Compass to work.
http_path = "/"
# Directory where Compass dumps the generated CSS files
http_css_path = http_path + "assets/css"
# Directory where font files use in font-face declarations are stored
http_fonts_path = http_path + "assets/fonts"
# Directory where Compass stores the Grid image, and the sites images are stored
http_images_path = http_path + "assets/img/"
# Directory where the sites' JavaScript file are stored
http_javascripts_path = http_path + "assets/js"
# ==============================================================================
# THE END
# ==============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment