From face5a6e637128501f368683298d3c896a1ed9d3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 22 Mar 2015 09:56:41 +0000 Subject: [PATCH] Adjusted SASS settings --- source/themes/opdavies/opdavies/config.rb | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/source/themes/opdavies/opdavies/config.rb b/source/themes/opdavies/opdavies/config.rb index 8daa7e61..546adb6b 100644 --- a/source/themes/opdavies/opdavies/config.rb +++ b/source/themes/opdavies/opdavies/config.rb @@ -6,14 +6,6 @@ ## file for more information. ## -# Default to development if environment is not set. -saved = environment -if (environment.nil?) - environment = :development -else - environment = saved -end - # Location of the theme's resources. css_dir = "assets/css" sass_dir = "assets/scss" @@ -31,7 +23,7 @@ require 'sass-globbing' # You can select your preferred output style here (:expanded, :nested, :compact # or :compressed). -output_style = (environment == :production) ? :expanded : :nested +output_style = :nested # To enable relative paths to assets via compass helper functions. Since Drupal # themes can be installed in multiple locations, we don't need to worry about @@ -39,7 +31,4 @@ output_style = (environment == :production) ? :expanded : :nested relative_assets = true # Conditionally enable line comments when in development mode. -line_comments = (environment == :production) ? false : true - -# Output debugging info in development mode. -sass_options = (environment == :production) ? {} : {:debug_info => true} +line_comments = false \ No newline at end of file