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

@compose-market/theme

v0.0.90

Published

Official design tokens and theme system for Compose.Market

Readme

@compose-market/theme

Official design tokens and theme system for Compose.Market - the Web3 Native AI Agent Marketplace.

Installation

npm install @compose-market/theme

Usage

CSS Variables (Recommended)

Import the CSS directly for use in any project:

/* In your main CSS file */
@import "@compose-market/theme/css";

/* Or import individual files */
@import "@compose-market/theme/css/tokens";  /* Fonts, radius */
@import "@compose-market/theme/css/dark";    /* Dark theme */
@import "@compose-market/theme/css/light";  /* Light theme (optional) */

Tailwind CSS Integration

Use the Tailwind preset for seamless integration:

// tailwind.config.js
import composeTheme from "@compose-market/theme/tailwind";

export default {
  presets: [composeTheme],
  content: ["./src/**/*.{js,ts,jsx,tsx}"],
};

JavaScript/TypeScript

Access tokens programmatically:

import { tokens, themes, getThemeColors } from "@compose-market/theme";

// Get all design tokens
console.log(tokens.colors.brand.cyan); // "188 95% 43%"

// Get theme colors
const darkColors = getThemeColors("dark");
console.log(darkColors.primary); // "188 95% 43%"

Design Tokens

Brand Colors

| Name | HSL | Hex | Usage | |------|-----|-----|-------| | Cyan (Primary) | 188 95% 43% | #22d3ee | Primary actions, links | | Fuchsia (Accent) | 292 85% 55% | #d946ef | Accents, highlights | | Dark Background | 222 47% 3% | #020617 | Main background |

Typography

  • Display: Orbitron (headers, brand text)
  • Body: Rajdhani (UI, paragraphs)
  • Code: Fira Code (monospace, technical)

Semantic Colors

The theme uses semantic color names that adapt to light/dark mode:

  • background, foreground
  • card, cardForeground
  • popover, popoverForeground
  • primary, primaryForeground
  • secondary, secondaryForeground
  • muted, mutedForeground
  • accent, accentForeground
  • destructive, destructiveForeground
  • border, input, ring

Themes

Dark Theme (Default)

Cyberpunk-inspired dark theme with neon cyan and fuchsia accents.

/* Activate dark theme (default, no action needed) */
@import "@compose-market/theme/css";

Light Theme

Clean, professional light theme with the same accent colors.

/* Import both themes */
@import "@compose-market/theme/css/tokens";
@import "@compose-market/theme/css/dark";
@import "@compose-market/theme/css/light";

/* Activate light mode via class */
<html class="light">

Or via data attribute:

<html data-theme="light">

File Structure

@compose-market/theme/
├── dist/
│   ├── index.js           # Main JS export
│   ├── index.d.ts         # Type definitions
│   ├── tokens/            # Token modules
│   ├── themes/            # Theme modules
│   ├── tailwind/          # Tailwind preset
│   └── css/
│       ├── index.css      # Main CSS (tokens + dark)
│       ├── tokens.css     # Base tokens (fonts, radius)
│       ├── dark.css       # Dark theme colors
│       └── light.css      # Light theme colors
└── src/                   # Source TypeScript

Versioning

This package follows Semantic Versioning:

  • Major: Breaking changes to token names or structure
  • Minor: New tokens, themes, or features (backward compatible)
  • Patch: Bug fixes, value adjustments

License

MIT © Compose.Market