diff --git a/.themes/classic/sass/plugins/_plugins.scss b/.themes/classic/sass/plugins/_plugins.scss new file mode 100644 index 0000000..3b4ba0b --- /dev/null +++ b/.themes/classic/sass/plugins/_plugins.scss @@ -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. +*/ + diff --git a/.themes/classic/sass/screen.scss b/.themes/classic/sass/screen.scss index 1899f60..155e81e 100644 --- a/.themes/classic/sass/screen.scss +++ b/.themes/classic/sass/screen.scss @@ -7,4 +7,5 @@ @import "custom/layout"; @import "base"; @import "partials"; +@import "plugins/**/*"; @import "custom/styles"; diff --git a/Gemfile b/Gemfile index a11c24f..dc2b5cc 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/Gemfile.lock b/Gemfile.lock index d5bc622..02f1073 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -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) diff --git a/config.rb b/config.rb index 066427e..8cfcb51 100644 --- a/config.rb +++ b/config.rb @@ -1,3 +1,5 @@ +require 'sass-globbing' + # Require any additional compass plugins here. project_type = :stand_alone