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

@aleph-alpha/design-tokens

v0.2.0

Published

Design tokens (CSS variables, MUI palette, typography) for Aleph Alpha UI.

Readme

@aleph-alpha/design-tokens

Transforms design tokens from ui-library/tokens.json (Tokens Studio format) into platform-specific outputs that applications can consume directly — CSS custom properties, JS modules, or any format supported by Style Dictionary v4.

Installation

pnpm add @aleph-alpha/design-tokens

How to use

Backstage

Import the generated CSS and JS in your app. Example entry point (e.g. App.tsx):

// CSS — in your app entry (e.g. App.tsx)
import '@aleph-alpha/design-tokens/bui-theme.css';
import '@aleph-alpha/design-tokens/bui-spacing.css';

// JS — in your theme/config (e.g. theme.ts)
import { lightPalette, darkPalette } from '@aleph-alpha/design-tokens/mui-palette';
import { typographyConfig } from '@aleph-alpha/design-tokens/typography';

For more information, see BACKSTAGE.md.

How it works

The build script (sd.config.mjs) reads the multi-set tokens.json and runs Style Dictionary with the Tokens Studio transforms to resolve the 3-tier token architecture:

primitives (raw values) → theme (AA Base) → mode (Light / Dark)

Color tokens go through the full chain. Spacing and radius are mode-independent (primitives + theme only). Typography bypasses Style Dictionary entirely — it's generated from a declarative mapping in bui-mapping.mjs because the global set has cross-references that break the preprocessor.

Build

cd packages/design-tokens
pnpm build

Or via Nx from the workspace root:

npx nx build design-tokens

Supported targets

| Target | Docs | |--------|------| | Backstage | BACKSTAGE.md — BUI CSS variables, MUI palette, typography |

Extending

To add a new output target:

  1. Define a new platform with transforms, format, and output files in sd.config.mjs
  2. Add the new output to package.json exports