Skip to content

Instantly share code, notes, and snippets.

@nazrulworld
Last active August 29, 2015 14:21
Show Gist options
  • Save nazrulworld/f81b2f07c36de77becbe to your computer and use it in GitHub Desktop.
Save nazrulworld/f81b2f07c36de77becbe to your computer and use it in GitHub Desktop.
Sass Config
require 'bootstrap-sass'
require 'compass/import-once/activate'
# Require any additional compass plugins here.
# Can be :stand_alone or :rails. Defaults to :stand_alone
project_type = :stand_alone
# The environment mode. Defaults to :development, can also be :production
environment = :development
# Not needed in :stand_alone mode where it can be inferred by context. Sets the path to the root of the project.
# project_path =
# Set this to the root of your project when deployed:
# The path to the project when running within the web server. Defaults to "/".
http_path = '/'
# The directory where the css stylesheets are kept. It is relative to the project_path. Defaults to "stylesheets".
css_dir = "assets/css"
# The full path to where css stylesheets are kept. Defaults to <project_path>/<css_dir>.
css_path = ""
# The full http path to stylesheets on the web server. Defaults to http_path + "/" + css_dir.
http_stylesheets_path = ""
# The directory where the sass stylesheets are kept. It is relative to the project_path. Defaults to "sass".
sass_dir = "sass"
# The full path to where sass stylesheets are kept. Defaults to <project_path>/<sass_dir>.
sass_path = ""
# The directory where the images are kept. It is relative to the project_path. Defaults to "images".
images_dir = "images"
# The full path to where images are kept. Defaults to <project_path>/<images_dir>.
images_path = ""
# The full http path to images on the web server. Defaults to http_path + "/" + images_dir.
http_images_path = ""
# The directory where generated images are kept. It is relative to the project_path. Defaults to the value of images_dir.
generated_images_dir = ""
# The full path to where generated images are kept. Defaults to the value of <project_path>/<generated_images_dir>.
generated_images_path = ""
# The full http path to generated images on the web server. Defaults to http_path + "/" + generated_images_dir.
http_generated_images_path = ""
# The directory where the javascripts are kept. It is relative to the project_path. Defaults to "javascripts".
javascripts_dir = "javascripts"
# The full path to where javascripts are kept. Defaults to <project_path>/<javascripts_dir>.
javascripts_path = ""
# The full http path to javascripts on the web server. Defaults to http_path + "/" + javascripts_dir.
http_javascripts_path = ""
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
# The directory where the font files are kept. Standalone projects will default to <css_dir>/fonts. Rails projects will default to "public/fonts".
fonts_dir = ""
# The full path to where font files are kept. Defaults to <project_path>/<fonts_dir>.
fonts_path = ""
# The full http path to font files on the web server.
http_fonts_path = ""
# The relative http path to font files on the web server.
http_fonts_dir = ""
# 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
# Array of Strings Other paths on your system from which to import sass files. See the add_import_path function for a simpler approach.
additional_import_paths =
# 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