Created
          December 19, 2012 01:21 
        
      - 
      
- 
        Save cbfrance/4333641 to your computer and use it in GitHub Desktop. 
    example compass configuration
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require "susy" # how to require this in bowerbird? | |
| require "logger" # custom logger with pass/fail | |
| require "pry" | |
| require "rake" # for filelist | |
| require "modular-scale" #for ratios | |
| drupal_dir = "drupal" | |
| themes_dir = "sites/all/themes/" | |
| extensions_dir = "bowerbird/extensions/" | |
| bowerbird_extension_dir = "bowerbird/" | |
| full_bowerbird_extension_dir = File.join(drupal_dir, themes_dir, extensions_dir, bowerbird_extension_dir) | |
| assets_dir = "checkdesk/assets" | |
| full_assets_dir = File.join(drupal_dir, themes_dir, assets_dir) | |
| http_path = "/" | |
| css_dir = File.join(full_assets_dir, "css") | |
| sass_dir = File.join(full_assets_dir, "scss") | |
| images_dir = File.join(full_assets_dir, "imgs") | |
| javascripts_dir = File.join(full_assets_dir, "js") | |
| bb_background_path = "sites/all/themes/bowerbird/images/bkgs/" | |
| # icon webfonts from bowerbird | |
| http_fonts_path = File.join("/", themes_dir, extensions_dir, bowerbird_extension_dir, "fonts") | |
| relative_assets = false | |
| #load bowerbird | |
| Sass.load_paths << File.join(full_bowerbird_extension_dir, "stylesheets") | |
| # For more about Sass functions: | |
| # http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html | |
| module Sass::Script::Functions | |
| def pry | |
| binding.pry | |
| end | |
| def bb_random_color | |
| colors = ["#FF628C", "#3AD900", "#0088FF", "#80FFC2", "#FFDD00", "#FF9D00"] | |
| arr = colors.dup | |
| Sass::Script::String.new(colors.collect { arr.slice!(rand(arr.length)) }.first); | |
| end | |
| end | |
| output_style = (environment == :production) ? :compressed : :expanded | |
| sass_options = (environment == :production) ? { :debug_info => false } : { :debug_info => true } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment