@theme-kit/cli
`theme-kit inspect`
theme-kit inspect <file> [options]Options
| Option | Description |
|---|---|
--file <path> | Theme file to inspect (or pass positionally). |
Examples
theme-kit inspect themes/plum-dark.json
theme-kit inspect theme.json # a light + dark pairOutput
For a single theme:
1Theme: plum-dark
2Mode: dark
3Family: plum
4
5Tokens:
6 colors: 22 items
7 radius: 1 items
8
9Meta:
10 Label: Plum Dark
11 Description: N/A
12 Version: N/AFor a { light, dark } pair, each theme is printed with its own index:
Theme 1: indigo-light
Mode: light
Family: indigo
...
Theme 2: indigo-darkinspect summarizes token groups by count. To see the full token values,
use export --format json or read the JSON directly.
Exit codes
| Code | Meaning |
|---|---|
0 | Inspected successfully. |
1 | File not found / unreadable. |
2 | No theme file supplied. |
Next: migrate.