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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@signozhq/design-tokens

v1.2.1

Published

Welcome to the `@signozhq/design-tokens` package! This package provides a set of design tokens that can be used across your projects to maintain consistency in design and styling.

Readme

@signozhq/design-tokens

Welcome to the @signozhq/design-tokens package! This package provides a set of design tokens that can be used across your projects to maintain consistency in design and styling.

Features

  • Design Tokens: Easily manage and use design tokens for colors, spacing, and typography.
  • TypeScript Support: Fully typed definitions for better development experience.
  • Tailwind Compatibility: Generate tokens compatible with Tailwind CSS.
  • Build Tools: Integrated with Vite for fast builds and development.

Installation

To install the package, use npm or yarn:

npm install @signozhq/design-tokens

or

yarn add @signozhq/design-tokens

Usage

You can import the design tokens in your project as follows:

import { Color, Spacing, Typography } from '@signozhq/design-tokens';
// Example usage
const backgroundColor = Color.BG_ROBIN_100;
const padding = Spacing.PADDING_4;
const fontSize = Typography.FONTSIZE_XL;

Additionally, you can import the generated CSS files that contain all the variables:

@import '@signozhq/design-tokens/style.css';

Or import specific files for colors, spacing, or typography:

@import '@signozhq/design-tokens/src/Colors/colors.css';
@import '@signozhq/design-tokens/src/Spacing/spacing.css';
@import '@signozhq/design-tokens/src/Typography/typography.css';

Available Tokens

Colors

  • Color.BG_ROBIN_100
  • Color.BG_SIENNA_200
  • Color.TEXT_CHERRY_500
  • ... (and many more)

Spacing

  • Spacing.PADDING_1
  • Spacing.MARGIN_4
  • ... (and many more)

Typography

  • Typography.FONTSIZE_SM
  • Typography.FONTWEIGHT_BOLD
  • ... (and many more)

Generating Tokens

To generate the design tokens from JSON files, you can run the following command:

npm run generate-tokens

This will read the JSON files located in the src/tokens directory and generate the corresponding TypeScript files.

Changelog

For a detailed list of changes, please refer to the CHANGELOG.md.