sol2/compass.rb

41 lines
1.4 KiB
Ruby
Raw Normal View History

2013-10-18 03:56:14 +08:00
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
#path = File.dirname(__FILE__)
project_path = "sphinx_rtd_theme/static"
http_path = "static"
sass_path = "sass"
css_dir = "css"
javascripts_dir = "js"
images_dir = "img"
fonts_dir = "font"
2013-10-18 03:56:14 +08:00
# To enable relative paths to assets via compass helper functions. Uncomment:
#relative_assets = true
add_import_path "../../bower_components/bourbon/app/assets/stylesheets"
add_import_path "../../bower_components/neat/app/assets/stylesheets"
add_import_path "../../bower_components/wyrm/sass"
2014-02-01 00:58:37 +08:00
add_import_path "../../bower_components/font-awesome/scss"
2013-10-18 03:56:14 +08:00
# 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 == :production) ? :compressed : :expanded
2013-10-18 03:56:14 +08:00
# 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
line_comments = (environment == :production) ? false : true
2013-10-18 03:56:14 +08:00
# 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
preferred_syntax = :sass