Skip to content

Commit

Permalink
Added sass-globbing, allowing plugin stylesheets to be auto-imported …
Browse files Browse the repository at this point in the history
…from the assets/stylesheets/plugins directory
  • Loading branch information
imathis committed Mar 11, 2013
1 parent 05db158 commit 9364f37
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .themes/classic/sass/plugins/_plugins.scss
Original file line number Diff line number Diff line change
@@ -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.
*/

1 change: 1 addition & 0 deletions .themes/classic/sass/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
@import "custom/layout";
@import "base";
@import "partials";
@import "plugins/**/*";
@import "custom/styles";
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ group :development do
gem 'RedCloth', '~> 4.2.9'
gem 'haml', '~> 3.1.7'
gem 'compass', '~> 0.12.2'
gem 'sass-globbing', '~> 1.0.0'
gem 'rubypants', '~> 0.2.0'
gem 'rb-fsevent', '~> 0.9'
gem 'stringex', '~> 1.4.0'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ GEM
rdiscount (1.6.8)
rubypants (0.2.0)
sass (3.1.20)
sass-globbing (1.0.0)
sass (>= 3.1)
sinatra (1.3.5)
rack (~> 1.4)
rack-protection (~> 1.3)
Expand All @@ -60,5 +62,6 @@ DEPENDENCIES
rb-fsevent (~> 0.9)
rdiscount (~> 1.6.8)
rubypants (~> 0.2.0)
sass-globbing (~> 1.0.0)
sinatra (~> 1.3.5)
stringex (~> 1.4.0)
2 changes: 2 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'sass-globbing'

# Require any additional compass plugins here.
project_type = :stand_alone

Expand Down

0 comments on commit 9364f37

Please sign in to comment.