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 🙏

© 2026 – Pkg Stats / Ryan Hefner

novo-design-tokens

v1.1.0

Published

Design tokens for the Novo Design System

Downloads

1,996

Readme

novo-design-tokens npm npm bundle size

Design tokens for the Bullhorn/Novo Design System.

Getting started

Installing the package:

npm install novo-design-tokens

What's included

novo-design-tokens/
├── lib/                    # generated js (CJS + ESM), json, and manifest.json (theme registry)
├── css/                    # generated per-theme css: bh2022(.min), bh2022-dark(.min), bh2026(.min)
└── scss/                   # scss consumption layer (variables + mixins + functions)

Themes

Two themes ship today, both as CSS custom properties:

| Theme | Selector | CSS entry | |---|---|---| | bh2022 (base) | :root (+ dark) | novo-design-tokens/css/bh2022, .../bh2022-dark | | bh2026 | [data-theme="bh2026"] | novo-design-tokens/css/bh2026 |

The theme registry is published at novo-design-tokens/manifest (lib/manifest.json) — name, selector, modes, and css paths per theme — so you can enumerate themes without hardcoding.

Using the tokens

Tokens are available for web and can be included as JS, CSS variables, or SCSS variables and mixins.

JS

import { color, spacing } from "novo-design-tokens";

document.querySelector("#el").style.backgroundColor = color.candidate; // entity color
document.querySelector("#el").style.color = color.contrast.grass; // computed contrast
document.querySelector("#el").style.padding = spacing.lg;

CSS

Import a theme's variables. The base theme (bh2022) applies to :root; add data-theme="bh2026" on a container (or :root) to activate the modern theme.

import "novo-design-tokens/css/bh2022";       // base (:root)
import "novo-design-tokens/css/bh2022-dark";  // optional dark overrides
import "novo-design-tokens/css/bh2026";       // modern ([data-theme="bh2026"])

In Sass, use the extensionless path (as above) so the variables are inlined; a .css suffix makes Sass emit a passthrough @import instead. In JS/bundlers either form works — the manifest (lib/manifest.json) advertises the .css paths.

Deprecated aliases css/variables, css/variables-dark, css/variables-bh2026 (each + .min) still resolve but will be removed in a future major — migrate to the css/<theme> paths above.

SCSS

Ships with utility mixins and functions for applying tokens in components:

@use "novo-design-tokens/scss";

.box {
  @include padding("md");                 // spacing scale
  @include background-color(blue, "dark"); // color + variant
  @include font("lg");                     // type scale
  border: 2px solid getColor(gray, "light");
  color: rgba($candidate, 0.3);            // entity color as a var
}

Development

npm install   # install dependencies
npm start     # build all token outputs
npm test      # build + regression suite

Themes are declared in manifest.mjs; the build is build.mjs. bh2022 is authored as DTCG under src/core + src/themes/bh2022; bh2026 is generated from its Figma export in src/themes/bh2026. See CLAUDE.md for architecture and contribution details.

Built with