Skip to main content

shift-cli palette

Palette — design token and component management.

Usage

shift-cli palette <subcommand> [arguments] [flags]

Sub-commands

Tokens

CommandDescription
palette tokens listList all design tokens
palette tokens create <name>Create a new design token

Components

CommandDescription
palette components listList all components
palette components create <name>Register a new component
CommandDescription
palette exportExport 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