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

noicss.colors

v1.0.6

Published

Color palette as custom CSS properties by noicss, that you can edit with just 1 (or more) inputs. In modern vanilla CSS.

Downloads

79

Readme

Installation:

npm install noicss.colors

Usage:

import it into your CSS file:

@layer colors, main;

@import url("noicss.colors") layer(colors);

/* YOUR OWN CSS: */
@layer main {
  body {
    background-color: var(--bgColor-5);
  }
  .card {
    background-color: var(--accentColor-1);
  }
  .cardText {
    color: var(--textColor-4);
  }
}

Customization:

all values are optional, so you can set only the hue or all of them

@layer colors, main;

@import url("noicss.colors") layer(colors);

/* YOUR OWN CSS: */
@layer main {
  :root {
    --noicssHue: 0; /* <number> from 0 - 360 | starting with 0 at red | default: 0 */
    --noicssSaturation: 1; /* <number> from 0 - 1 | default: 1 */
    --noicssBrightness: 65%; /* <percentage> from 0% - 100% | default: 65% */

    /* brightness change from one color to another: */
    --noicssBrightnessSpread: 20%; /* <percentage> from 0% - 100% | default: 0% */

    /* saturation decrement from one color to another: */
    --noicssSaturationSpread: 0.2; /* <number> from 0 - 1 | default: 0 */
  }
}

Available colors:

there are 3 categories of colors, each with 5 variations to choose from:

| Accent: | Text: | Background: | | --------------- | ------------- | ----------- | | --accentColor-1 | --textColor-1 | --bgColor-1 | | --accentColor-2 | --textColor-1 | --bgColor-2 | | --accentColor-3 | --textColor-1 | --bgColor-3 | | --accentColor-4 | --textColor-1 | --bgColor-4 | | --accentColor-5 | --textColor-1 | --bgColor-5 | | | | |