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

@nxtg/design-tokens

v1.0.0

Published

NXTG.AI Design System — canonical theme tokens for all web properties

Downloads

30

Readme

@nxtg/design-tokens

Canonical design system tokens for all NXTG.AI web properties. One import, brand-correct by default.

The Problem

Every NXTG.AI property (nxtg.ai, faultline.nxtg.ai, Forge UI) maintains its own theme CSS. They drift. Colors don't match. Light mode looks different everywhere. Dark mode contrast varies. Teams interpret "use brand orange" differently.

The Solution

/* Your globals.css — one line */
@import "@nxtg/design-tokens/globals.css";

Done. Both themes work. Brand orange is correct. Typography scale is consistent. Spacing is on the 4px grid.

What's Included

| File | What It Does | |------|-------------| | globals.css | One-import theme (colors + typography + spacing + base resets) | | tokens/colors.css | Light mode ("Polished Steel") + Dark mode ("Industrial Void") | | tokens/typography.css | Inter + JetBrains Mono, 1.25 Major Third scale | | tokens/spacing.css | 4px grid system, container breakpoints | | tailwind.preset.ts | Tailwind CSS v4 preset mapping all tokens to utilities |

Quick Start

Install

npm install github:nxtg-ai/nxtg-design-tokens

CSS Import (simplest)

/* In your app's globals.css */
@import "@nxtg/design-tokens/globals.css";

/* Your project-specific variables go here (don't duplicate token values) */
:root {
  --sidebar-width: 280px;
}

Tailwind Preset (if using Tailwind)

// tailwind.config.ts
import nxtgPreset from '@nxtg/design-tokens/tailwind.preset'

export default {
  presets: [nxtgPreset],
  // your project config...
}

Using Tokens in Components

// Correct — uses semantic tokens
<div className="bg-background text-foreground border-border" />
<button className="bg-accent text-accent-foreground" />

// Wrong — raw primitives that won't respect theme switching
<div className="bg-black text-white border-gray-700" />

Theme Personalities

Light Mode: "Polished Steel"

Cool metallic grays with subtle blue undertone. Think brushed aluminum MacBooks, Bang & Olufsen speakers. Background: #ebeef1. Brand orange as a glowing indicator light on premium hardware.

Dark Mode: "Industrial Void"

True black (#000000), not dark gray. Content emerges from darkness with clear hierarchy. Brand orange as a beacon of interaction. Designed for focus and late-night sessions.

Brand Accent

Orangehsl(24, 100%, 50%) in light, hsl(25, 95%, 53%) in dark. This is non-negotiable across all NXTG.AI properties.

Rules

  1. Do NOT override token values in consuming projects
  2. If you need a project-specific variable, use a different name
  3. The token package is the source of truth — your globals.css consumes it
  4. Both themes must work — never build dark-only or light-only

Architecture

This package is AWP.Dev.DesignGovernance.Web — the first ActionWorkflow Pack in the NXTG.AI portfolio. It enforces the Design Constitution (standards/design-constitution.md) at the code level.

Litmus test: Precision Industrial Calm — engineered intelligence, earned trust, zero visual noise.

License

MIT