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

ThemeUse
autoCompatible terminal colors; the default
draculaDracula true-color palette
nordNord true-color palette
gruvboxGruvbox true-color palette
monoBold and dim structure without color
nonePlain 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=gruvbox

TTY 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