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

getmdl_rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getmdl_rails

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Installation

Add this line to your application's Gemfile:

gem 'getmdl_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install getmdl_rails

Usage

Javascripts

To your application.js file, add:

//= require material Stylesheets

Do one of the following:

To your application.css , add

*= require material OR

If you're using sass, use sass's @import in your application.scss.

@import "material";

This gem only provides the compiled CSS file from google/material-design-lite.

Icons

Material Design Lite uses a font called 'Material Icons'. You can either load this font from google, or host it yourself.

Load font from google

Add the following line to your application.html.erb view layout file, in the section:

<%= stylesheet_link_tag "https://fonts.googleapis.com/icon?family=Material+Icons" %>

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/getmdl_rails.

FAQs

Package last updated on 07 Mar 2016

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