Sha256: 0b1c823580338b24ee5c491819573f7f3a29a0661942c1f30d02ee1f31eb35d1

Contents?: true

Size: 990 Bytes

Versions: 2

Compression:

Stored size: 990 Bytes

Contents

## Installation

Add this line to your application's Gemfile:

```ruby
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 <head> 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.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
getmdl_rails-0.2.0 README.md
getmdl_rails-0.1.0 README.md