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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@savvy-css/ember-savvy-css

v0.7.2

Published

An Ember addon for including Savvy CSS in an Ember project

Readme

ember-savvy-css

An Ember addon for including Savvy CSS in an Ember project.

Latest NPM release CircleCI Build Status Ember Observer Score License Dependencies Dev Dependencies

Installation

ember install @savvy-css/ember-savvy-css

Usage

Generating Files

During installation, the addon will run its default blueprint (which can be run manually with ember g ember-savvy-css). The blueprint generates a savvy-css/ directory within your project's app/styles/ directory. This directory consists of files that organize imports of the modules comprising savvy-css:

_settings.css

This file contains all of the CSS Custom Properties provided by Savvy. You can override these properties with you own values by importing this file as the first thing in your application.

_core.css

This file contains Savvy's core -- its helper classes. Some of these will attempt to make use of Savvy variables (otherwise, they'll fallback on default values), so it's recommended to import this file after _settings.css.

Importing Generated Files

After the default blueprint runs, all you need to do is import the generated files in your app.css file to make it a part of the styles that are processed by your app.

Here's our recommended setup:

/* --------- app.css --------- */

/* Import Savvy CSS variables/settings */
@import "./savvy-css/_settings.css";

/* Import local variables/settings after Savvy settings */
@import "./_variables.css";

/* Import core Savvy CSS before local core CSS */
@import "./savvy-css/_core.css";


/* Organize the rest of your app's CSS from this point onward */

Currently, this setup assumes that your styles are being processed wth ember-cli-postcss, but more flexible options are being explored.

Configuring your Build with PostCSS

PostCSS requires at least one plugin be defined. We're going to need a way to resolve paths of CSS @import rules anyway, so let's use postcss-import as our first plugin. Here's what the PostCSS options should look like in ember-cli-build.js:

// ember-cli-build.js

/* eslint-env node */
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const cssImport = require('postcss-import');

module.exports = function(defaults) {
  var app = new EmberApp(defaults, {
    postcssOptions: {
      compile: {
        enabled: true,
        plugins: [
          { module: cssImport }
        ]
      }
    },
  });
  return app.toTree();
};