npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

arctic_admin

v4.3.1

Published

Responsive Theme for ActiveAdmin

Downloads

24,140

Readme

ArcticAdmin

Gem Version Gem Downloads Gem Version Gem Downloads

Simple theme for ActiveAdmin :ok_hand:

Complete demo here : https://arcticadmin.osc-fr1.scalingo.io

admin user : [email protected] / password

Screenshot

Installation

For Sprockets users

  • Add this to your Gemfile:
gem 'arctic_admin'
  • Run bundle install.

  • Add this line to the file config/initializers/active_admin.rb

meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
config.meta_tags = meta_tags_options
config.meta_tags_for_logged_out_pages = meta_tags_options

For webpacker / jsbundling-rails or other JS-based asset solutions

Install the needed assets with npm or yarn:

yarn add arctic_admin @fortawesome/fontawesome-free

Use with Sprockets

1a - CSS

In your active_admin.css, include the css file:

/*
 *= require arctic_admin/base
 */

Remove the line *= require active_admin/base

Then restart your webserver if it was previously running.

1b - Sass Support

:exclamation: Remove the line @import "active_admin/base"

If you prefer SCSS, add this to your active_admin.scss file:

@import "arctic_admin/base";

If you use the Sass indented syntax, add this to your active_admin.sass file:

@import arctic_admin/base

2 - JS

In your active_admin.js, include the js file:

//= require arctic_admin/base

:exclamation: Remove the line //= require active_admin/base

Use with webpacker

1 - CSS

In your app/javascript/stylesheets/active_admin.scss, add the line:

@import '~arctic_admin/src/scss/main';

Remove:

@import "~@activeadmin/activeadmin/src/scss/mixins";
@import "~@activeadmin/activeadmin/src/scss/base";

2 - JS

Search for app/javascript/packs/active_admin.js in your rails project and add the following lines:

import "@fortawesome/fontawesome-free/css/all.css";
import 'arctic_admin'

Customization

For this, you need to use SASS to customize the theming.

Right now you can change the primary color of the theme by placing the following variable in your active_admin.scss file:

$primary-color: #2dbb43;

@import "~arctic_admin/src/scss/main";

If you use the Sass indented syntax, add this to your active_admin.sass file:

$primary-color: #2dbb43

@import ~arctic_admin/src/scss/main

Then restart your webserver if it was previously running.

Contributing

  1. Fork it ( https://github.com/cprodhomme/arctic_admin/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 new Pull Request