Skip to content

Instantly share code, notes, and snippets.

@moxdev
Forked from bcinarli/config.rb
Created June 2, 2016 15:50
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 moxdev/cf34ed3b50a44864fd3cf610b76855f5 to your computer and use it in GitHub Desktop.
Save moxdev/cf34ed3b50a44864fd3cf610b76855f5 to your computer and use it in GitHub Desktop.
Bourbon based SASS config and debug options After import the config file, you can call bourbon as @import "bourbon"
# define bourbon path, use a common library for preventing duplicates
add_import_path "path/to/your/bourbon/lib"
### -->> project paths, delete/comment if you use scout, codekit etc.
environment = :production # removes single line comments, keeps css comments
output_style = :compact
css_dir = "styles" #relative to project root
sass_dir = "styles-sass" #relative to project root
images_dir = "images" #relative to project root
javascripts_dir = "scripts" #relative to project root
### <<-- project paths, ignore/comment if you use scout.app or codekit etc.
# where the fonts resides
fonts_dir = "fonts"
# for debug options in chrome web developer tools
sass_options = {
:debug_info => true,
:sourcemap => true #with SASS > 3.3 http://benfrain.com/add-sass-compass-debug-info-for-chrome-web-developer-tools/
}
@moxdev
Copy link
Author

moxdev commented Jun 2, 2016

Good bourbon starter file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment