CLI
@theme-kit/cli
CLITooling5 exports
Generate, validate, migrate, inspect and export themes from the command line.
Installation
Install the integration alongside @theme-kit/core.
pnpm add @theme-kit/cliQuick Start
Complete copy-paste usage for this package.
theme-kit generate --seed "#6366f1" --family indigo --output theme.json
theme-kit validate theme.json
theme-kit export theme.json --format cssAPI Reference
Curated highlights below. The complete generated reference — every signature, parameter and type — is at /api-reference/cli.
Commands
| Export | Description |
|---|---|
generate | Generate a theme from a seed color (--seed, --family, --output). |
validate | Validate a theme JSON file. |
migrate | Migrate a theme to the latest format. |
inspect | Inspect a theme's details. |
export | Export a theme to CSS or JSON. |