diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-05-04 13:32:39 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-05-04 13:32:39 +0400 |
commit | a1b7455f85a55914b615c0b7937371e1ec736916 (patch) | |
tree | 00520e717417de56f793a83dae64e9f4b0af71d2 /templates | |
parent | 509a2e682ef9f332a37065c302cddf21646cd7a8 (diff) |
Change Compass template to use Sass helpers
Diffstat (limited to 'templates')
-rw-r--r-- | templates/project/_bootstrap-variables.sass.erb (renamed from templates/project/_variables.sass.erb) | 0 | ||||
-rw-r--r-- | templates/project/manifest.rb | 4 | ||||
-rw-r--r-- | templates/project/styles.sass | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/project/_variables.sass.erb b/templates/project/_bootstrap-variables.sass.erb index 67a57e0d..67a57e0d 100644 --- a/templates/project/_variables.sass.erb +++ b/templates/project/_bootstrap-variables.sass.erb diff --git a/templates/project/manifest.rb b/templates/project/manifest.rb index 77243d7b..cd2adce3 100644 --- a/templates/project/manifest.rb +++ b/templates/project/manifest.rb @@ -5,10 +5,10 @@ stylesheet 'styles.sass' # SCSS: -assets = "../../vendor/assets" +assets = '../../vendor/assets' bs_stylesheets = "#{assets}/stylesheets/bootstrap" -stylesheet '_variables.sass.erb', :to => '_variables.sass', :erb => true, +stylesheet '_bootstrap-variables.sass.erb', :to => '_bootstrap-variables.sass', :erb => true, :bs_variables_path => File.expand_path("#{bs_stylesheets}/_variables.scss", File.dirname(__FILE__)) # JS: diff --git a/templates/project/styles.sass b/templates/project/styles.sass index 1920a0d1..96dc2802 100644 --- a/templates/project/styles.sass +++ b/templates/project/styles.sass @@ -1,3 +1,3 @@ -// customize bootstrap variables here: -@import "variables" +@import "bootstrap-compass" +@import "bootstrap-variables" @import "bootstrap" |