← Catalog

pi-tokyo-night

Tokyo Night theme and header extension for the Pi coding agent

Theme

Install

Install with PiG

pig install npm:pi-tokyo-night

Install with Pi

pi install npm:pi-tokyo-night
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/MitoroMisaka/pi-tokyo-night/main/screenshot.png",
  "themes": [
    "./themes/tokyo-night.json"
  ],
  "extensions": [
    "./extensions/tokyo-night-header.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.0 (README.md). PiG does not review it.

pi-tokyo-night

npm version downloads license pi package

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:

CategoryColors
Background#1a1b26 deep navy blue
Foreground#c0caf5 soft white-blue
Accent#7aa2f7 Tokyo blue
SyntaxPurple keywords, blue functions, cyan types, green strings, orange variables
DiffsGreen additions, red deletions, muted context
ThinkingGradient 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