Skip to content

loconav-tech/active_material

 
 

Repository files navigation

ActiveMaterial

An ActiveAdmin skin based on Google's Material Design.

  1. Installation
  2. Usage
  3. Customization
  4. Contributing

Installation

Add this line to your application's Gemfile:

gem "active_material", github: "vigetlabs/active_material"

And then execute:

$ bundle

Or install it yourself as:

$ gem install active_material

Usage

In app/assets/stylesheets/active_admin.css.scss, replace:

@import "active_admin/base";

with

@import "active_material";

Additionally, ActiveMaterial comes with an optional JavaScript bundle that adds a few additional features. It should be included right after the active_admin base script.

In app/assets/javascripts/active_admin.js, add:

//= require active_material

Customization

Refer to the Customization Guide.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/active_material/fork )
  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 a new Pull Request

Code At Viget

Visit code.viget.com to see more projects from Viget.

Packages

No packages published

Languages

  • CSS 94.9%
  • JavaScript 2.9%
  • Ruby 2.2%