Skip to content

Instantly share code, notes, and snippets.

@bcinarli
Last active July 26, 2023 10:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bcinarli/5618295 to your computer and use it in GitHub Desktop.
Save bcinarli/5618295 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/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment