Skip to content

CLI

@theme-kit/cli

CLITooling5 exports

Generate, validate, migrate, inspect and export themes from the command line.

Install the integration alongside @theme-kit/core.

bash
pnpm add @theme-kit/cli

Quick Start

Complete copy-paste usage for this package.

terminal
bash
theme-kit generate --seed "#6366f1" --family indigo --output theme.json
theme-kit validate theme.json
theme-kit export theme.json --format css

API Reference

Curated highlights below. The complete generated reference — every signature, parameter and type — is at /api-reference/cli.

Commands

ExportDescription
generateGenerate a theme from a seed color (--seed, --family, --output).
validateValidate a theme JSON file.
migrateMigrate a theme to the latest format.
inspectInspect a theme's details.
exportExport a theme to CSS or JSON.
@theme-kit/cli — Theme Kit