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

@w5-ui/tokens

v0.5.0

Published

Design tokens (CSS variables for dark + light motifs and a JS token map) for the Dash UI design system, by Webber's design systems.

Readme

@w5-ui/tokens

Design tokens for the Dash UI design system. CSS variables + typed JS constants.

import '@w5-ui/tokens/css' // imports the CSS variable definitions
import { brand, status } from '@w5-ui/tokens'

The CSS exports two motifs:

<html data-motif="dark">
  <!-- dashboard -->
  <html data-motif="light">
    <!-- store / marketing -->
  </html>
</html>

CSS entry points

The package ships four CSS files. Pick by what your app needs:

| Import | What it ships | When | | --------------------------------- | ------------------------------------------------------------------ | ------------------------------------------------- | | @w5-ui/tokens/tokens.css | Raw CSS variables (dark + light) | You want token vars only, nothing else | | @w5-ui/tokens/dashboard.css | .app / .workspace / .grid / .card / .ph-bar chrome | You want the canonical dashboard layout / rhythm | | @w5-ui/tokens/tailwind.css | tokens.css + @theme inline bridge + dark: data-motif variant | You use Tailwind v4 and want token utilities only | | @w5-ui/tokens/tailwind-full.css | tailwind.css + dashboard.css (single import) | You use Tailwind v4 and want chrome classes too |

tailwind.css does not include dashboard.css. Tailwind users who also want the canonical chrome classes can either reach for the one-stop tailwind-full.css:

@import 'tailwindcss';
@import '@w5-ui/tokens/tailwind-full.css';

…or import both layers explicitly, in this exact order:

@import 'tailwindcss';
@import '@w5-ui/tokens/tailwind.css';
@import '@w5-ui/tokens/dashboard.css';

If you don't import dashboard.css, AppLayout, <div className="grid">, and <Card> render as unstyled boxes — Tailwind utilities still work, but the 12-column grid, page padding, card shell, and PageHeader rhythm are gone. That's the single biggest reason a Tailwind userland app "looks different" from the Dashboard Storybook story.

Easier: skip tailwind.css + dashboard.css and pull the framework bundle instead — it ships both layers plus the component CSS in one import:

import '@w5-ui/react/styles.css' // or '@w5-ui/svelte/styles.css'

See Foundations / Setup in Storybook for the full end-to-end recipe.