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

@aditya-karedla/tokens

v0.1.0-alpha.1

Published

Design tokens for Nova UI component library

Downloads

113

Readme

@aditya-karedla/tokens

Design tokens for the Nova design system

A comprehensive set of design tokens including colors, spacing, typography, and more for building consistent UIs.

Installation

npm install @aditya-karedla/tokens
# or
pnpm add @aditya-karedla/tokens
# or
yarn add @aditya-karedla/tokens

Usage

Colors

Access the complete color palette optimized for enterprise applications:

import { colors } from '@aditya-karedla/tokens';

// Primary colors
const primaryBlue = colors.primary[500]; // #3b82f6

// Semantic colors
const successGreen = colors.success[600];
const errorRed = colors.error[600];
const warningOrange = colors.warning[500];
const infoBlue = colors.info[500];

// Neutral grays
const textColor = colors.gray[900];
const borderColor = colors.gray[200];

Complete Color Palette

Primary

Professional blue palette (50-950 shades)

Semantic Colors

  • Success - Green tones for positive actions
  • Error - Red tones for errors and destructive actions
  • Warning - Orange tones for warnings and alerts
  • Info - Blue tones for informational messages

Neutral

Gray palette with subtle blue tint (50-950 shades)

Design Tokens

Access spacing, typography, and other design tokens:

import { tokens } from '@aditya-karedla/tokens';

// Spacing scale
const spacing = tokens.spacing;
// { xs: '0.25rem', sm: '0.5rem', md: '1rem', ... }

// Border radius
const radius = tokens.borderRadius;
// { sm: '0.25rem', md: '0.5rem', lg: '0.75rem', ... }

// Typography
const fontSize = tokens.fontSize;
// { xs: '0.75rem', sm: '0.875rem', base: '1rem', ... }

// Shadows
const shadow = tokens.shadows;
// { sm: '...', md: '...', lg: '...', ... }

Importing Specific Color Sets

import { colors } from '@aditya-karedla/tokens/colors';

const { primary, success, error, warning, info, gray } = colors;

Token Categories

Colors

  • Primary (Blue)
  • Gray (Neutral)
  • Success (Green)
  • Error (Red)
  • Warning (Orange)
  • Info (Blue)

Spacing

Consistent spacing scale from xs to 3xl

Typography

  • Font sizes
  • Font weights
  • Line heights
  • Letter spacing

Border Radius

Consistent corner radius values

Shadows

Elevation system with multiple shadow levels

Color Philosophy

All colors in the Nova design system are:

  • WCAG 2.1 AA Compliant - Ensuring sufficient contrast ratios
  • Professionally Calibrated - Optimized for enterprise applications
  • Harmonious - Carefully selected to work well together
  • Accessible - Designed with color blindness considerations

TypeScript

All tokens are fully typed with TypeScript:

import type { Colors, Tokens } from '@aditya-karedla/tokens';

Usage with Tailwind CSS

These tokens are designed to integrate seamlessly with Tailwind CSS. Reference the colors in your Tailwind configuration:

// tailwind.config.js
import { colors } from '@aditya-karedla/tokens';

export default {
  theme: {
    extend: {
      colors: {
        primary: colors.primary,
        success: colors.success,
        // ...
      }
    }
  }
}

Related Packages

License

MIT © Aditya Karedla