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

@mellon-design/tokens-web

v1.0.1

Published

Web design tokens generated from @mellon-design/design-system-foundation. Do not edit directly.

Readme

@mellon-design/tokens-web

Web design tokens for Mellon products — colors, typography, spacing, elevation, motion, radius, and more — generated from the design system foundation token source. This package is generated output: don't edit it directly, change the source tokens and cut a new release instead.

Tokens follow the DTCG format and are available as CSS custom properties, JS/TS modules, and raw JSON, with light, dark, and high-contrast themes.

Install

npm install @mellon-design/tokens-web

Usage

CSS custom properties

Import the base tokens plus whichever theme(s) you need. Themes set the same custom properties to different values, so swapping the imported theme (or toggling a class/attribute that scopes it) is enough to re-theme.

@import "@mellon-design/tokens-web/css";
@import "@mellon-design/tokens-web/css/theme-light";
.card {
  background: var(--color-surface-default);
  color: var(--color-text-primary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}

Dark and high-contrast themes are available the same way:

@import "@mellon-design/tokens-web/css/theme-dark";
@import "@mellon-design/tokens-web/css/theme-high-contrast";

JavaScript / TypeScript

import { color, spacing, radius } from "@mellon-design/tokens-web";

const style = {
  background: color.surface.default,
  padding: spacing.md,
  borderRadius: radius.md,
};

Full type definitions ship with the package (tokens.d.ts), so editor autocomplete works out of the box.

Raw JSON

For tooling that consumes DTCG-format tokens directly (Figma plugins, custom build pipelines, etc.):

import tokens from "@mellon-design/tokens-web/json";

What's in the package

| Export | Contents | | --- | --- | | @mellon-design/tokens-web | JS/TS token module (also the default main/module entry) | | @mellon-design/tokens-web/css | Base CSS custom properties (theme-independent tokens) | | @mellon-design/tokens-web/css/theme-light | Light theme values | | @mellon-design/tokens-web/css/theme-dark | Dark theme values | | @mellon-design/tokens-web/css/theme-high-contrast | High-contrast theme values | | @mellon-design/tokens-web/json | Raw DTCG token JSON |

Versioning

This package is versioned and released independently of the Android and iOS token packages, though all platform packages for a given release are built from the same tagged commit in the source repo. See that repo's docs/versioning.md for what counts as a patch/minor/major change, and its CHANGELOG.md for release notes.

Source & issues

Token source, build tooling, and documentation live in the design system foundation repo. File issues and token change requests there — this package has no source of its own beyond the generated output.