SwipeUI
DocsCLI

theme

List, install, switch and remove presets in an owned theme file.

npx @swipeui/cli theme list
npx @swipeui/cli theme add cinema tempo
npx @swipeui/cli theme set cinema
npx @swipeui/cli theme remove tempo

All commands support --json and --dry-run. theme set preserves edits against the previous preset baseline; --overwrite applies every preset value. The active base preset cannot be removed. theme list also works outside an app.

A safe literal Metro options object is edited without evaluating JavaScript. A dynamic object or array receives an exact manual registration step instead. Restart Metro with --clear after registration changes. doctor checks the owned file, a single import, complete variable sets and extra theme registration.

See Presets and theme files for providers and overrides.