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

@felixgeelhaar/glaze-tokens

v1.0.1

Published

Design tokens for the Glaze Design System

Readme

@felixgeelhaar/glaze-tokens

Design tokens for the Glaze Design System

Installation

npm install @felixgeelhaar/glaze-tokens
# or
pnpm add @felixgeelhaar/glaze-tokens
# or
yarn add @felixgeelhaar/glaze-tokens

Usage

CSS Variables

/* Import CSS tokens in your stylesheet */
@import '@felixgeelhaar/glaze-tokens/dist/css/tokens.css';

/* Use the tokens */
.my-element {
  color: var(--glz-color-primary-500);
  background: var(--glz-color-glass-bg);
  border-radius: var(--glz-radius-md);
  backdrop-filter: blur(var(--glz-blur-md));
}

JavaScript/TypeScript

import { tokens } from '@felixgeelhaar/glaze-tokens';

// Access token values
console.log(tokens.color.primary[500]); // '#6366f1'
console.log(tokens.spacing.md); // '1rem'
console.log(tokens.blur.md); // '12px'

With Tailwind CSS

// tailwind.config.js
import { tokens } from '@felixgeelhaar/glaze-tokens';

export default {
  theme: {
    extend: {
      colors: tokens.color,
      spacing: tokens.spacing,
      borderRadius: tokens.radius,
    }
  }
}

Available Tokens

Colors

  • Primary: 50-950 shades
  • Accent: 50-950 shades
  • Neutral: 50-950 shades
  • Glass: Special glassmorphism colors
    • glass-bg: Semi-transparent backgrounds
    • glass-border: Subtle borders
    • glass-shadow: Elevation shadows

Spacing

  • xs: 0.25rem
  • sm: 0.5rem
  • md: 1rem
  • lg: 1.5rem
  • xl: 2rem
  • 2xl: 3rem
  • 3xl: 4rem

Typography

  • Font Families: System font stacks
  • Font Sizes: xs to 5xl
  • Font Weights: 300-900
  • Line Heights: tight, normal, relaxed

Effects

  • Blur: sm (8px), md (12px), lg (24px), xl (40px)
  • Opacity: 0-100 in steps of 10
  • Border Radius: sm, md, lg, xl, full
  • Shadows: sm, md, lg, xl with glass variants

Animation

  • Durations: fast (150ms), normal (300ms), slow (500ms)
  • Easings: ease-in, ease-out, ease-in-out, spring

Token Formats

This package provides tokens in multiple formats:

  • CSS: Custom properties for web usage
  • TypeScript: Type-safe token objects
  • JSON: Raw token values for custom tooling
  • Figma: Design tokens for Figma plugins
// Access different formats
import '@felixgeelhaar/glaze-tokens/dist/css/tokens.css';
import { tokens } from '@felixgeelhaar/glaze-tokens';
import figmaTokens from '@felixgeelhaar/glaze-tokens/figma';

Theming

The tokens support multiple themes:

/* Light theme (default) */
:root {
  --glz-color-primary-500: #6366f1;
  --glz-color-background: #ffffff;
}

/* Dark theme */
[data-theme="dark"] {
  --glz-color-primary-500: #818cf8;
  --glz-color-background: #0f172a;
}

/* High contrast */
[data-theme="high-contrast"] {
  --glz-color-primary-500: #4338ca;
  --glz-color-background: #000000;
}

Integration

Works seamlessly with:

License

MIT

Links