Material Design Gem for Bootstrap
I decided to package this gem as an update to Aufree's since the repository was marked as inactive.
bootstrap-material gives FezVrasta's Bootstrap-Material-Design theme in an easy to use gem.
You can find FezVrasta's demo of the theme here.
Installation
Add it to your Gemfile:
gem 'bootstrap-material'`
Then:
bundle
Or just install it:
gem install bootstrap-material
Usage
Note: bootstrap-sass ~>3.0
is a dependency for this gem, so make sure you have it in your Gemfile and in the asset pipeline!
On to the good stuff... To use the theme:
Require it in your application.css
(after bootstrap-sass
):
*= require bootstrap-material
or, if you would like the full palette of colors:
*= require bootstrap-material-fullpalette
Next, require it in your application.js
:
Finally, if you would like the Roboto font, enter this line in your application.css
(after requiring bootstrap-material
):
*= require bootstrap-material-roboto
Restart your application and enjoy!
Todo
Thanks
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 new Pull Request