pi-terminal-theme

Pi terminal themes using ANSI 0..15, with an optional tinted variant for custom palette slots.

Packages

Package details

theme

Install pi-terminal-theme from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-terminal-theme
Package
pi-terminal-theme
Version
0.2.0
Published
May 19, 2026
Downloads
2,000/mo · 375/wk
Author
mavam
License
MIT
Types
theme
Size
7.7 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "themes": [
    "./themes"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

🖥️ pi-terminal-theme

Your terminal colors are fine. Stop overriding them.

This pi package includes two terminal-first themes:

  • terminal maps UI colors to ANSI 0..15. That's the safe default.
  • terminal-tinted also uses custom palette slots for message and tool backgrounds.

🚀 Installation

pi install npm:pi-terminal-theme

✨ Usage

Pick terminal in /settingstheme, or configure it in ~/.pi/agent/settings.json:

{
  "theme": "terminal"
}

To opt in to tinted message and tool backgrounds, select terminal-tinted:

{
  "theme": "terminal-tinted"
}

Project-specific settings can use the same theme key in .pi/settings.json.

🔄 No theme switcher needed

Because these themes use your terminal’s palette directly, they automatically follow whatever your terminal is already using (light/dark, custom palettes, scheduled changes, etc.).

That means you usually don’t need a separate theme switcher integration such as:

🎨 Tinted palette slots

The terminal-tinted theme treats palette slots 16..23 as package-specific UI colors:

Slot Theme use
16 Selected item background
17 Tool error background
18 Tool success background
19 Tool pending background
20 User message background
21 Custom message background
22 Tool title
23 Tool output

These are not standard dim ANSI colors. If your terminal does not remap these slots, it will use the built-in xterm 256-color cube, which can produce harsh or unreadable backgrounds.

📄 License

MIT