shift-cli palette
Palette — design token and component management.
Usage
shift-cli palette <subcommand> [arguments] [flags]
Sub-commands
Tokens
| Command | Description |
|---|---|
palette tokens list | List all design tokens |
palette tokens create <name> | Create a new design token |
Components
| Command | Description |
|---|---|
palette components list | List all components |
palette components create <name> | Register a new component |
Export and Search
| Command | Description |
|---|---|
palette export | Export tokens and components |
palette search <query> | Search tokens and components |
Examples
# List all tokens
shift-cli palette tokens list
# Create a token
shift-cli palette tokens create primary-color
# List components as JSON
shift-cli palette components list --json
# Search for tokens or components
shift-cli palette search "button"
# Export palette data
shift-cli palette export