Skip to content

[INACTIVE] The bootstrap-material-design bundled as an asset for the rails asset pipeline.

License

Notifications You must be signed in to change notification settings

leegeng/bootstrap-material-design

 
 

Repository files navigation

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

About

[INACTIVE] The bootstrap-material-design bundled as an asset for the rails asset pipeline.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 90.6%
  • JavaScript 5.2%
  • Ruby 3.3%
  • Other 0.9%