$ cat ~/map/pi-ansi-themes.md
pi-ansi-themes
Dark and light Pi themes that use your terminal's own 16 ANSI colors.
themes✓ Oct 16
Facts
- repository
- github.com/leblancfg/pi-ansi-themes ↗
- GitHub Stars
- ★ 16
- Forks
- 2
- license
- MIT
- npm / mo
- —
- last push
- Aug 21, 2026
install
pi install git:github.com/leblancfg/pi-ansi-themes## TL;DR
Two pi themes, ansi-dark and ansi-light, that draw only on the terminal's own 16 ANSI colors instead of hardcoded hex, so pi's UI matches Tokyo Night, Catppuccin, Dracula, Nord, Gruvbox, and other terminal color schemes.
## Key points
- $pi's built-in themes use hardcoded hex colors, so they clash with terminal themes like Tokyo Night, Catppuccin, Dracula, Nord, Gruvbox, and Solarized; these themes use only the 16 standard ANSI color indices, letting the terminal — WezTerm, Kitty, iTerm2, Alacritty, Ghostty, Windows Terminal, or anything else — provide the actual colors.
- $After install, set the theme field in settings.json to ansi-dark, or ansi-light for light terminals.
- $ansi-dark uses the bright ANSI palette (8-15) on an ANSI black background; ansi-light uses the standard ANSI palette (0-7) on the terminal's default background.
- $No hex, no 256-color, no grayscale ramp — colors come from the terminal and nowhere else, and CI enforces the ANSI 0-15 rule via scripts/validate-ansi-only.py.
## FAQ
Q Why do pi's built-in themes clash with my terminal theme?
They hardcode hex color values, ignoring the palette your terminal defines; these themes reference only ANSI indices 0-15, so pi's UI picks up whatever colors the terminal already uses.
## References
## Related entries
## Guides
Last updated: Aug 31, 2026