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

@devpraxis/design-tokens

v0.3.5

Published

FlowChat design tokens (brand colors, mobile palette) — single source of truth shared across flowchat web, mobile, and landing. Brand assets (logos, favicons) live separately — different lifecycle, not a token.

Readme

@devpraxis/design-tokens

FlowChat design tokens — single source of truth for brand primitives, semantic light/dark themes and the mobile app's dark-only palette. Shared across the FlowChat app, authentication screens, settings, standalone modules, mobile app and landing page.

Brand assets (logos, favicons, mascot art) deliberately live outside this package — they have a different lifecycle and purpose than token values (versioned per-app, produced/updated by design work rather than a code change, and in at least one case today, large binary files that shouldn't bloat every consumer's node_modules). Each consuming app owns its own copy of whatever brand assets it needs.

Install

npm install @devpraxis/design-tokens

Published to the public npm registry — no auth needed to install.

Usage

import { palette, mobileColors } from "@devpraxis/design-tokens";

palette.blue[600]; // "#006CF4"
mobileColors.primary; // "#006CF4"

What's in scope here

  • palette — global color primitives, named by hue family + numeric lightness step (Tailwind-aligned: blue, slate, gray, teal). The canonical naming layer.
  • theme.css — the canonical semantic web theme: canvas, surfaces, text, borders, interaction states, status colors, sidebar, radii and elevation for light and dark modes. Tailwind consumers should import this file rather than redefining semantic values locally.
  • mobileColors — the mobile app's derived dark-theme palette (semantic aliases of palette).

Ownership model

The design system is intentionally split by responsibility:

  • @devpraxis/design-tokens owns visual values and their semantic meaning.
  • @devpraxis/brand-assets owns logos, mascot artwork, favicons and other versioned binary/vector brand files.
  • @flowchat/ui owns reusable component recipes that consume the semantic tokens without redefining them.
  • Product applications own layout, content and feature behavior. They should not introduce product-local palette values or copy brand assets by hand.

This separation lets landing, login, app shell, settings modals and feature modules evolve from one documented reference while keeping assets and code on independent release cycles.

Palette nomenclature

The global layer names colors by what they are (hue + lightness step), not by marketing name or usage. Steps follow the Tailwind 100–950 lightness convention so they read natively in the Tailwind consumers. The invented-name brand export (flow, flowDeep, mist, graphite, accent) was removed in v0.2.0 — all consumers are ours, so they migrate in lockstep instead of carrying deprecated aliases. No value changed in this migration — only names:

| Token | Hex | Pre-0.2.0 name | | ------------ | --------- | --------------------------------- | | blue[300] | #70B0FF | mobileColors.primaryLight | | blue[600] | #006CF4 | brand.flow | | blue[950] | #002452 | mobileColors.primaryDark | | slate[800] | #283248 | mobileColors.surfaceRaised | | slate[900] | #1C2333 | brand.graphite | | slate[950] | #0D1426 | brand.flowDeep | | gray[100] | #F2F4F7 | brand.mist | | gray[400] | #9CA3AF | mobileColors.muted / inactive | | gray[500] | #6B7280 | mobileColors.dimmed | | teal[500] | #00D4B4 | brand.accent |

blue is the saturated brand hue, slate is the desaturated dark-neutral ramp on the same ~223° hue, and gray is true neutral. The marketing names ("Azul Flow", "Grafite", …) live on in the brand guide (docs/brand/colors.md in the flowchat monorepo) — they're just no longer API.

Web apps with a CSS pipeline should import the shared semantic theme:

@import "tailwindcss";
@import "@devpraxis/design-tokens/theme.css";

Consumer-local theme declarations are reserved for runtime-specific concerns such as Next.js font variables and page animations. See docs/brand/colors.md in the flowchat monorepo for the token architecture and WCAG contrast rationale.

Development

npm install
npm run build       # emit dist/ (compiled JS + .d.ts)
npm run typecheck
npm run lint
npm run format:check

Versioning

Manual semver bump in package.json, in the same PR that changes a value — no changesets. Bump whenever src/index.ts changes; publishing is idempotent (a push with an unchanged version is a no-op), so a content change without a version bump silently never reaches consumers — double-check the version line before merging.