A web application for designing and exporting theme JSON files following the pi-mono specification.
- 51 Color Tokens: Full support for all tokens from pi-mono specification
- Variables (Vars): Top-level group for managing theme variables with add/remove (persists when empty); color references resolve to actual hex values (e.g., "accent" → "#8abeb7")
- Hex Input: Each color has editable hex input field synced with color picker
- Import/Export: JSON import and export with proper schema URL
- Preset Themes: Auto-detect themes via
index.jsonmanifest - Preview System: Template-based previews (Markdown, Tool Diffs, Syntax Highlighting, Bash Mode, Warning) with [preview] [picker] [hex-input] [✓] editing flow; hover over text to see color info (token, purpose, hex value)
- Empty Value Handling: Empty strings show diagonal stripe pattern in preview, black in picker
- Accessibility: Keyboard navigation support with proper ARIA attributes
npm install
npm run devnpm run build- Select a preset theme from the dropdown or import a JSON file
- Expand color groups to view individual colors
- Click preview swatch to open color picker
- Edit hex value directly and press Enter to apply
- Add/remove custom variables in the Vars section
- Export your theme as JSON when done
Exported JSON includes:
{
"$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
"name": "my-theme",
"vars": { ... },
"colors": { ... },
"export": { ... }
}MIT