amp-themes

extensiontheme

Amp-inspired Pi UI suite: theme, editor chrome, and compact tool display.

by · v0.4.1 · published 2mo ago

$ pi install npm:amp-themes
downloads/mo
0
stars
last push
open issues

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

1.8K downloads · last 12 weeks (weekly)

README

amp-themes

Amp-inspired UI for Pi: Amp dark/light themes that auto-switch to follow device appearance, rounded editor chrome, synchronized thinking-level colors, compact user messages, and self-authored Amp-style tool rendering.

Install

pi install npm:amp-themes

Set the theme in Pi settings, or in ~/.pi/agent/settings.json:

{
  "theme": "amp-dark"
}

Includes

  • amp-dark and amp-light themes (auto-switching to follow the device appearance; set AMP_APPEARANCE=dark or AMP_APPEARANCE=light to force)
  • Amp-style editor chrome: session cost top-left, model · thinking-level · context-window usage top-right, live working status and cwd (branch) on the bottom border
  • Working status integrated into the editor bottom border, with cwd and branch on the right
  • Compact Amp-style user messages with thinking-level color sync
  • Self-authored Amp-style tool rendering for the built-in tools (read, grep, find, ls, bash, edit, write): compact headers, collapsed output previews, a live bash spinner, and colored edit diffs (MCP tools keep Pi's default rendering)

Development

npm install
npm test
npm run typecheck
npm run check
npm run pack:check

For local Pi testing:

pi install /Users/frank/Code/amp-themes

Switch back to the published package when done:

pi remove /Users/frank/Code/amp-themes
pi install npm:amp-themes

Release

Use the bundled release skill/checklist:

release-amp-themes

At minimum:

npm run release:check
npm publish

See CHANGELOG.md for release notes.

License

MIT