Socket
Book a DemoInstallSign in
Socket

active_material

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active_material

ActiveAdmin skin based on Google's Material Design.

Source
npmnpm
Version
2.0.3
Version published
Weekly downloads
640
37.04%
Maintainers
1
Weekly downloads
 
Created
Source

ActiveMaterial

An ActiveAdmin skin based on Google's Material Design.

Installation

  • npm install --save active_material or yarn add active_material
  • Add @import "active_material/src/stylesheets/active_material.scss"; to your CSS style file (eg app/javascript/packs/active_admin.scss). Note: this requires that your build system supports compiling SCSS
  • Add import "active_material" to your JS file (eg app/javascript/packs/active_admin.js)

Upgrading from v1 to v2

This activeadmin theme is entirely JS and CSS, and there is no custom ruby code. Therefore, since v2, active_material has been converted from a ruby gem to an npm/JS package. As part of this process, sprockets is also no longer supported.

To upgrade from v1 to v2, follow these steps:

  • Follow the instructions above for "installation" to add the npm version
  • Remove references to active_material in app/assets/stylesheets/active_admin.scss. Any customizations should be moved over to wherever the new scss import is.
  • Remove references to active_material in app/assets/javascripts/active_admin.js.
  • Remove the gem 'active_material' from your Gemfile (and run bundle install to update Gemfile.lock)

FAQs

Package last updated on 31 Jan 2024

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