New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@compose-market/theme

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compose-market/theme

Official design tokens and theme system for Compose.Market

latest
Source
npmnpm
Version
0.0.90
Version published
Maintainers
2
Created
Source

@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

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

NameHSLHexUsage
Cyan (Primary)188 95% 43%#22d3eePrimary actions, links
Fuchsia (Accent)292 85% 55%#d946efAccents, highlights
Dark Background222 47% 3%#020617Main 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

Keywords

design-tokens

FAQs

Package last updated on 17 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts