templates/sass.rb in bear-0.0.1 vs templates/sass.rb in bear-0.0.2
- old
+ new
@@ -1,11 +1,11 @@
run "mkdir public/stylesheets/sass"
create_file "public/stylesheets/sass/colors.sass" do
<<-FILE
- $black = rgba(0, 0, 0, 1)
- $white = rgba(255, 255, 255, 1)
+$black: rgba(0, 0, 0, 1)
+$white: rgba(255, 255, 255, 1)
FILE
end
create_file "public/stylesheets/sass/mixins.sass" do
<<-FILE
@@ -85,11 +85,11 @@
border-collapse: collapsellapse
border-spacing: 0
FILE
end
-create_file "public/stylesheets/grid.sass" do
+create_file "public/stylesheets/grid.css" do
<<-FILE
/*
Variable Grid System.
Learn more ~ http://www.spry-soft.com/grids/
Based on 960 Grid System - http://960.gs/
@@ -454,6 +454,11 @@
.text-right
text-align: right !important
FILE
end
-run 'sass public/stylesheets/sass/main.scss public/stylesheets/main.css'
+create_file 'public/stylesheets/sass/admin.sass' do
+<<-FILE
+FILE
+end
+
+run 'bundle exec sass public/stylesheets/sass/application.sass public/stylesheets/application.css'