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

@qball-inc/tokens

v1.0.1

Published

QBall Design System tokens — framework-agnostic CSS custom properties, component classes, and a DTCG/Style-Dictionary JSON mirror. Zero build step; public default display face is Fira Code (Berkeley Mono restored per README in private builds).

Readme


Install

pnpm add @qball-inc/tokens

Usage

The token layer is plain CSS plus a JSON mirror — there is no build step and no runtime. Import the CSS in your app's style entry. Order matters: the component layer reads var(--token) values defined by the layer above it.

/* app.css */

/* REQUIRED — every --token (colors, --data-* finance signals, --font-display,
   radii, spacing) + semantic element styles + the button family (.btn). */
@import "@qball-inc/tokens/colors-and-type.css";

/* REQUIRED — the application component layer (.stat, .num, .badge, .meter,
   .modal, .switch, .field, …). Must come AFTER colors-and-type.css. */
@import "@qball-inc/tokens/components.css";

/* OPTIONAL — Tailwind v4 @theme export: token-named utilities for your own
   markup + the --font-display override seam. */
@import "@qball-inc/tokens/theme.css";

Switch themes by setting data-theme on the root — light and dark are both first-class and swap every token:

<html data-theme="dark">
  <!-- … --></html>

Consume the tokens as cross-platform data (DTCG / Style-Dictionary shape) from the package root or the explicit subpath:

import tokens from "@qball-inc/tokens"; // → tokens.json
// or: import tokens from "@qball-inc/tokens/tokens.json";

What's in the package

| Import | File | Delivers | Required? | | --- | --- | --- | --- | | @qball-inc/tokens/colors-and-type.css | colors_and_type.css | Every CSS custom property the components reference + semantic element styles + the .btn family. | Yes | | @qball-inc/tokens/components.css | components.css | The full application component layer (the rest of the class inventory). | Yes | | @qball-inc/tokens/theme.css | theme.css | Tailwind v4 @theme export (token-named utilities + the --font-display seam). | Optional | | @qball-inc/tokens · @qball-inc/tokens/tokens.json | tokens.json | DTCG / Style-Dictionary JSON mirror (cross-platform). | Optional |

Importing only colors-and-type.css then components.css (in that order) paints the entire component inventory. Omitting either leaves components unstyled — a silent miss, not an error. Full wiring guide: docs/consumer-setup.md.

Display font

This package ships with Fira Code as the default display face. The system's intended display face is Berkeley Mono, a commercial typeface that is not redistributed here, so nothing licensed reaches the published package. To restore Berkeley Mono in a private build, see the repository README.

Part of the QBall Design System

License

Apache-2.0 © QBall Inc. (The Apache-2.0 license covers this package's code; it is distinct from the Berkeley Mono font license, which is not granted here.)