Skip to main content

Theme Support

The orx CLI supports dark and light themes with auto-detection.

Auto-Detection

The CLI checks these sources in order:
  1. $ORX_THEME environment variable (dark or light)
  2. $COLORFGBG terminal variable (set by iTerm2, xterm, etc.)
  3. Falls back to dark

Switching Themes

Via command

/theme          # Toggle current theme
/theme dark     # Switch to dark
/theme light    # Switch to light

Via environment variable

export ORX_THEME=light
orx

Color Palette

Dark Theme (default)

TokenColorUsage
Accent#6C8EBFHeadings, bullets, links, spinner
Muted#6c6c6cTool responses, timestamps
Success#98C379Completed tasks
Warning#E5C07BIn-progress tasks, approval prompts
Error#E06C75Errors, dangerous commands

Light Theme

TokenColorUsage
Accent#2563EBHeadings, bullets, links, spinner
Muted#737373Tool responses, timestamps
Success#16A34ACompleted tasks
Warning#CA8A04In-progress tasks
Error#DC2626Errors

Markdown Styling

Rich Markdown elements (blockquotes, bullets, headings, links) use the theme accent color instead of terminal defaults.