pi-tokyo-night

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

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:

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