Repository is archived
No commit activity in last 3 years
No release in over 3 years
Material Design for Bootstrap
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Material Design for Bootstrap

bootstrap-material-design provides the Bootstrap-Material-Design web fonts, javascripts and stylesheets as a Rails engine for use with the asset pipeline.

You can check out the demo at this link.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap-material-design'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap-material-design

Usage

Make sure you have installed the Bootstrap in your Rails application.

You should include the theme right after the Bootstrap CSS and include the javascript at the end of your document, everything will be converted to Material Design (paper) style.

Just like this:

application.js:

//= require bootstrap-material-design

application.css:

/*
 *= require bootstrap-material-design
 */

Then restart your webserver if it was previously running.

That's it, hava fun!

Also you can see more details about bootstrap-material-design at this link or clone my gem in your computer, then run cd bootstrap-material-design/test/dummy_app && bundle && rails s, that just give a demo for you.

Thanks

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request