pi-live-theme
A pi extension that adds a /theme slash command with live theme preview. Scroll through available themes and see them applied in real time.
Package details
Install pi-live-theme from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-live-theme- Package
pi-live-theme- Version
1.0.1- Published
- Jul 13, 2026
- Downloads
- 296/mo · 163/wk
- Author
- viraniaman94
- License
- MIT
- Types
- extension
- Size
- 2.2 MB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-live-theme
A pi extension that adds a /theme slash command with live theme preview. Scroll through available themes and see them applied in real time as your cursor moves over each one.
Features
- 🎨 Live preview — themes are applied as you scroll, no need to commit first
- ⏱️ Debounced loading — rapid arrow-key navigation won't thrash; only the final selection loads
- ◌ Loading indicator — a spinner shows which theme is being loaded
- ↩️ Safe cancel — Escape reverts to your original theme
- 🏷️ Current theme indicator — the active theme is marked
(current)and pre-selected
Install
pi install npm:pi-live-theme
Or from git:
pi install git:github.com/viraniaman94/pi-live-theme
Demo

Usage
Type /theme in pi to open the theme selector:
- ↑↓ — navigate themes (live preview on cursor move)
- Enter — commit the highlighted theme
- Escape — cancel and revert to the previous theme
Requirements
- pi (any recent version)
- TUI mode (
/themerequires interactive terminal)
License
MIT