BootswatchSass
A SASS/Sprockets version of the Bootswatch themes.
Installation
Add this line to your application's Gemfile:
gem 'bootswatch-sass', '~> 3.3.0'The current version requires Rails 4.2.0. If you're using an older version of Rails, you should pin bootswatch-sass to version 3.3.1.3 in your Gemfile:
gem 'bootswatch-sass', '3.3.1.3'And then execute:
bundleOr install it yourself as:
gem install bootswatch-sassUsage
In this example we'll use the Cyborg theme.
If you want the default theme, replace bootstrap-cyborg with bootstrap.
In your application.js add:
//= require bootstrapIn your application.css.scss add:
@import "bootstrap-cyborg";That's it.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new pull request