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

@uncinq/design-tokens

v1.8.1

Published

Framework-agnostic design tokens — JSON DTCG primitive and semantic — CSS custom properties.

Readme

@uncinq/design-tokens

Framework-agnostic design tokens for Un Cinq projects — Hugo, Symfony, Shopify, or any CSS environment.

Primitive and semantic design tokens, authored in DTCG JSON and compiled to CSS custom properties by Style Dictionary.

Installation

npm install @uncinq/design-tokens
/* everything: primitive + semantic + dark theme */
@import '@uncinq/design-tokens';

/* or by layer */
@import '@uncinq/design-tokens/css/primitive.css';
@import '@uncinq/design-tokens/css/semantic.css';

/* or file by file */
@import '@uncinq/design-tokens/css/semantic/color.css';

Without a build step:

<link rel="stylesheet" href="https://unpkg.com/@uncinq/design-tokens">

Every generated file declares @layer tokens itself. Declaring the full layer order is the consuming project's job, and it must happen before any import.

Token architecture

primitive   →   semantic   →   component
(raw values)    (purpose)      (@uncinq/component-tokens)
--color-sienna-600: oklch(0.53 0.195 22);    /* primitive: what is the value? */
--color-brand:      var(--color-sienna-600); /* semantic:  what is it for?   */
--btn-color-background: var(--color-brand);  /* component: where is it used? */

Overriding the semantic layer is how a project rebrands without forking:

@import '@uncinq/design-tokens';

@layer tokens {
  :root {
    --color-brand:       var(--color-violet-600);
    --color-brand-hover: var(--color-violet-700);
  }
}

At a glance

  • 19 hues at 11 steps each, all in OKLCH, plus black and white
  • 661 tokens across 23 source files
  • CSS output only, because custom properties are the one format that works unchanged everywhere
  • Dark theme as a 13-token overlay, following the OS setting

Documentation

Full documentation: socle.uncinq.dev/docs/design-tokens/

It is also versioned with the code in docs/, and ships inside the npm package, so it is readable offline and from node_modules:

Build

npm install
npm run build     # tokens/**/*.json → dist/css/**

dist/ is generated and committed. Never edit it by hand.

References

License

MIT © Un Cinq