pi-tokyo-night

Tokyo Night theme and header extension for the Pi coding agent

Packages

Package details

extensiontheme

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

$ pi install npm:pi-tokyo-night
Package
pi-tokyo-night
Version
1.0.0
Published
May 24, 2026
Downloads
not available
Author
kurokoshirai
License
MIT
Types
extension, theme
Size
7.4 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "themes": [
    "./themes/tokyo-night.json"
  ],
  "extensions": [
    "./extensions/tokyo-night-header.ts"
  ],
  "image": "https://raw.githubusercontent.com/MitoroMisaka/pi-tokyo-night/main/screenshot.png"
}

Security note

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

README

pi-tokyo-night

Tokyo Night theme and custom header for the Pi coding agent.

This package brings the iconic Tokyo Night color palette — popularized by enkia/tokyo-night-vscode-theme — to Pi's terminal UI, along with a matching custom ASCII art header.

Install

pi install npm:pi-tokyo-night

Or from GitHub:

pi install git:github.com/MitoroMisaka/pi-tokyo-night

What's included

🎨 Tokyo Night Theme

All 51 color tokens carefully tuned:

Category Colors
Background #1a1b26 deep navy blue
Foreground #c0caf5 soft white-blue
Accent #7aa2f7 Tokyo blue
Syntax Purple keywords, blue functions, cyan types, green strings, orange variables
Diffs Green additions, red deletions, muted context
Thinking Gradient from blue (minimal) → red (xhigh)

🖥️ Custom Header

Replaces the default header with a Tokyo Night themed ASCII art display showing the Pi logo and useful keybinding hints.

Restore default header: /default-header

Usage

After installing, the theme is applied automatically. If it doesn't switch:

  1. Open Pi settings: /settings → select tokyo-night
  2. Or manually set in ~/.pi/agent/settings.json:
{
  "theme": "tokyo-night"
}

Credits

License

MIT