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

@angular-ai-kit/tokens

v0.1.15

Published

Design tokens and theming for Angular AI Kit - CSS custom properties, dark mode, and TypeScript interfaces

Readme

@angular-ai-kit/tokens

Design tokens and theming for Angular AI Kit. CSS custom properties for consistent styling with light/dark mode support.

Installation

npm install @angular-ai-kit/tokens

Quick Start

Import all styles at once:

/* styles.css */
@import '@angular-ai-kit/tokens/tokens/index.css';

Or import individual files as needed:

/* styles.css */
@import '@angular-ai-kit/tokens/tokens/theme.css'; /* Required: CSS variables */
@import '@angular-ai-kit/tokens/tokens/code-theme.css'; /* Syntax highlighting */
@import '@angular-ai-kit/tokens/tokens/prose.css'; /* Markdown typography */
@import '@angular-ai-kit/tokens/tokens/animations.css'; /* Animations */

CSS Files

| File | Description | Size | | ---------------- | ----------------------------------- | ---------------- | | theme.css | CSS variables for light/dark themes | Required | | code-theme.css | Syntax highlighting (highlight.js) | For code blocks | | prose.css | Typography for markdown content | For AI responses | | animations.css | Typing indicators, cursors | For animations | | index.css | All of the above combined | Full bundle |

CSS Variables

Background Colors

| Variable | Light Mode | Dark Mode | Usage | | -------------- | ---------- | --------- | ----------------- | | --background | #ffffff | #09090b | Page background | | --card | #fafafa | #18181b | Card backgrounds | | --muted | #f4f4f5 | #18181b | Muted backgrounds | | --accent | #f4f4f5 | #27272a | Hover states |

Text Colors

| Variable | Light Mode | Dark Mode | Usage | | -------------------- | ---------- | --------- | -------------- | | --foreground | #09090b | #fafafa | Primary text | | --muted-foreground | #71717a | #a1a1aa | Secondary text | | --card-foreground | #09090b | #fafafa | Text on cards |

Border Colors

| Variable | Light Mode | Dark Mode | Usage | | ---------------- | ---------- | --------- | --------------- | | --border | #e4e4e7 | #27272a | Default borders | | --border-hover | #d4d4d8 | #52525b | Hover borders | | --ring | #a1a1aa | #71717a | Focus rings |

Usage with Tailwind CSS v4

For full Tailwind integration, add to your styles.css:

@import 'tailwindcss';
@import '@angular-ai-kit/tokens/tokens/index.css';

/* Enable Tailwind semantic color classes */
@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-border: var(--border);
  --color-ring: var(--ring);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
}

Then use semantic Tailwind classes:

<div class="bg-card text-card-foreground border-border rounded-lg border p-4">
  <p class="text-muted-foreground">Secondary content</p>
</div>

Dark Mode

Dark mode is controlled by the .dark class on the <html> element:

// Toggle dark mode
document.documentElement.classList.toggle('dark');

CSS variables automatically switch values when dark mode is active.

TypeScript Types

import type { ColorToken, ThemeConfig } from '@angular-ai-kit/tokens';

License

MIT