Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap-material

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-material

  • 0.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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:

//= require bootstrap-material

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

  • Tests!
  • Helper functions?

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

FAQs

Package last updated on 09 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc