Added sass-globbing, allowing plugin stylesheets to be auto-imported from the assets/stylesheets/plugins directory
This commit is contained in:
parent
05db158fec
commit
9364f37ac7
6
.themes/classic/sass/plugins/_plugins.scss
Normal file
6
.themes/classic/sass/plugins/_plugins.scss
Normal 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.
|
||||||
|
*/
|
||||||
|
|
@ -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";
|
||||||
|
1
Gemfile
1
Gemfile
@ -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'
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user