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

@arshad-shah/cynosure-tokens

v2.1.1

Published

Cynosure UI — design tokens (DTCG JSON + generated CSS/TS)

Readme

@arshad-shah/cynosure-tokens

W3C DTCG design tokens for Cynosure UI — the CSS custom properties every component reads from.

Source of truth for colour, spacing, typography, radius, elevation, motion, and z-index across the Cynosure ecosystem. Tokens are authored as DTCG JSON and compiled by Style Dictionary to CSS custom properties, a TypeScript module, and platform outputs.

See tokens applied across the component library, live: cynosure.arshadshah.com


Install

pnpm add @arshad-shah/cynosure-tokens

No peer dependencies. CSS has no side effects outside the :root selector.


Usage

As an app consumer

Import the stylesheets once at the root of your app. Light tokens load by default; the dark stylesheet registers overrides keyed to prefers-color-scheme: dark and [data-theme="dark"]:

import '@arshad-shah/cynosure-tokens/css';        // light tokens
import '@arshad-shah/cynosure-tokens/css/dark';   // dark-mode overrides

From there, every CSS variable is available:

.card {
  background: var(--cynosure-color-surface-1);
  padding: var(--cynosure-space-4);
  border-radius: var(--cynosure-radius-md);
  box-shadow: var(--cynosure-shadow-sm);
}

As a JavaScript consumer

Tokens are also exported as a typed object for places CSS variables don't reach (canvas, React Native, animation values):

import { tokens } from '@arshad-shah/cynosure-tokens';

chart.colors = [
  tokens.color.accent[500],
  tokens.color.danger[500],
  tokens.color.success[500],
];

Customising

Override any token at a scoping ancestor — the variables cascade like any other CSS custom property:

[data-theme="brand"] {
  --cynosure-color-accent-500: oklch(64% 0.18 284);
  --cynosure-radius-md: 12px;
}

See the custom-themes guide for the full token reference and scoping patterns.


What's inside

  • Colours — semantic scales (accent, neutral, danger, warning, success, info) plus surface, text, and border aliases
  • Spacing — 8-point grid, 0 through 20
  • Typography — font families, sizes, weights, line-heights, letter-spacing
  • Radius — none, sm, md, lg, xl, full
  • Elevation — shadow scale with ambient + directional layers
  • Motion — duration and easing (cubic-bezier) tokens
  • Z-index — layered scale for overlays, dropdowns, toasts, modals

Links

License

MIT © Arshad Shah