How Earendil built Pi's new system theme from your terminal's own ANSI colors

mitsuhiko · x · 2026-10-09

Earendil designer Maximilian Blazek details how Pi's new default system theme asks your terminal for its 16 ANSI colors and derives the whole UI palette from them, respecting choices terminal users have already made. The hard part is contrast: it's perceptual and not trivially measurable (they built an interactive survey to show this), and the post traces why the 1976-era ANSI palette can't be blindly trusted and how every color decision reduces to one question—how much a color stands out from its background.

Related event: Pi Terminal's New Default System Theme Adapts to User ANSI Palettes(2 posts)→

Original post →

More from coding & agent

coding & agent channel →