Added sass-globbing, allowing plugin stylesheets to be auto-imported from the assets/stylesheets/plugins directory

This commit is contained in:
Brandon Mathis 2013-03-11 01:40:41 -05:00
parent 05db158fec
commit 9364f37ac7
5 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
/*
Add plugin stylesheets to this directory and they will be automatically
Imported. Load order is alphabetical and styles can be overriden in
custom/_style.scss which is loaded after all plugin stylesheets.
*/

View File

@ -7,4 +7,5 @@
@import "custom/layout"; @import "custom/layout";
@import "base"; @import "base";
@import "partials"; @import "partials";
@import "plugins/**/*";
@import "custom/styles"; @import "custom/styles";

View File

@ -9,6 +9,7 @@ group :development do
gem 'RedCloth', '~> 4.2.9' gem 'RedCloth', '~> 4.2.9'
gem 'haml', '~> 3.1.7' gem 'haml', '~> 3.1.7'
gem 'compass', '~> 0.12.2' gem 'compass', '~> 0.12.2'
gem 'sass-globbing', '~> 1.0.0'
gem 'rubypants', '~> 0.2.0' gem 'rubypants', '~> 0.2.0'
gem 'rb-fsevent', '~> 0.9' gem 'rb-fsevent', '~> 0.9'
gem 'stringex', '~> 1.4.0' gem 'stringex', '~> 1.4.0'

View File

@ -36,6 +36,8 @@ GEM
rdiscount (1.6.8) rdiscount (1.6.8)
rubypants (0.2.0) rubypants (0.2.0)
sass (3.1.20) sass (3.1.20)
sass-globbing (1.0.0)
sass (>= 3.1)
sinatra (1.3.5) sinatra (1.3.5)
rack (~> 1.4) rack (~> 1.4)
rack-protection (~> 1.3) rack-protection (~> 1.3)
@ -60,5 +62,6 @@ DEPENDENCIES
rb-fsevent (~> 0.9) rb-fsevent (~> 0.9)
rdiscount (~> 1.6.8) rdiscount (~> 1.6.8)
rubypants (~> 0.2.0) rubypants (~> 0.2.0)
sass-globbing (~> 1.0.0)
sinatra (~> 1.3.5) sinatra (~> 1.3.5)
stringex (~> 1.4.0) stringex (~> 1.4.0)

View File

@ -1,3 +1,5 @@
require 'sass-globbing'
# Require any additional compass plugins here. # Require any additional compass plugins here.
project_type = :stand_alone project_type = :stand_alone