Terminal themes
Choose readable semantic colors for kprompt plans, risks, findings, and tables.
CLI themes style semantic output such as headings, success, warnings, denied risks, resource names, and muted details. They do not change planning or safety behavior.
Built-in themes
| Theme | Use |
|---|---|
| auto | Compatible terminal colors; the default |
| dracula | Dracula true-color palette |
| nord | Nord true-color palette |
| gruvbox | Gruvbox true-color palette |
| mono | Bold and dim structure without color |
| none | Plain output with all ANSI styling disabled |
Select a theme
# One command
kprompt --theme dracula "list deployments"
# Persist the default
kprompt config set theme nord
# Environment override when no flag/config value is set
export KPROMPT_THEME=gruvboxTTY and color behavior
- Color is enabled only for terminal output by default
- Any non-empty NO_COLOR disables ANSI styling
- KPROMPT_FORCE_COLOR=1 forces styling for ANSI-aware pipes or captures
- JSON output remains machine-readable; never force color into JSON consumers
- An unknown theme safely falls back to auto