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

softy-ui-tokens

v1.4.0

Published

Design tokens for Softy UI — single source of truth for colors, typography, spacing, and radius across 50+ apps.

Readme

softy-ui-tokens

Design tokens for the Softy UI family — single source of truth for colors, typography, spacing, and radius across softy-ui and every app built on it (softyerp, softy-crm, softy-hr, …).

Install

npm install softy-ui-tokens softy-ui

Quick start

/* your app's root stylesheet */
@import "softy-ui-tokens/tokens.css";    /* colors + typography variables */
@import "softy-ui/styles.css";            /* component styles */

Swap themes with one attribute

Preset themes (Purple / Blue / Green / Rose / Orange) are available via data-theme:

@import "softy-ui-tokens/themes/blue.css";
<html data-theme="blue">

Every component reading var(--primary) recolors instantly.

Runtime customization

import { applyTheme, setColor, resetTheme, getColor } from "softy-ui-tokens";

applyTheme("green");                   // switch to a preset
setColor("primary", "#ff0080");        // or pick a custom color
setColor("ring", "#ff0080");

resetTheme();                          // back to defaults
console.log(getColor("primary"));      // read currently-applied value

All changes are instant — no re-render, no rebuild.

Per-app brand override

/* apps/softy-crm/styles.css */
@import "softy-ui-tokens/tokens.css";
:root { --primary: #2563eb; --ring: #2563eb; }

What's inside

| Entry | Purpose | |---|---| | ./tokens.css | :root + .dark CSS variables (colors, typography, radius) | | ./themes/default.css | Purple preset (same as tokens.css) | | ./themes/blue.css | Blue preset | | ./themes/green.css | Green preset | | ./themes/rose.css | Rose preset | | ./themes/orange.css | Orange preset | | ./tokens.json | W3C DTCG token file (for Figma/Style Dictionary sync) | | . (JS) | TypeScript runtime helpers + typed color values |

Figma

tokens.json follows the W3C DTCG format and is compatible with:

Design principles

  1. Single source of truth — don't hard-code colors in components.
  2. Reference, don't duplicate — components use var(--primary), never #7f56d9.
  3. CSS variables everywhere — themable at runtime without re-rendering.
  4. Semantic names--primary, not --purple-500.