An unset (or unknown) design id resolves to Terminal, in the controller's
initial value, AppDesign.fromId and the boot spinner. A stored choice,
including Classic's stable 'default' id, is respected. The picker calls the
original Material look Classic so no row reads 'Default'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paper's theme joins the cached builder; AppDesignTokens and ReadingType
compare every new token by value, and Paper's tab indicator and switch
outline resolver are kept per colour so a rebuilt Paper theme equals
the last.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A rebuilt Terminal theme never equalled the last one (AppDesignTokens,
AnsiAccents and the tab indicator compared by identity), so any host
rebuild (a detached window's title, a font notification) rebuilt every
Theme.of dependent and ran MaterialApp's 200 ms theme animation. Themes
are now cached per (design, brightness, font) and compare by value;
chat colour seeded schemes are cached too.
test/perf/design_bench_test.dart and tool/perf/design_bench.mjs check
every registered AppDesign against Default (tool/perf/README.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the Paper design and generalises design tokens (transcript, composer,
selected-row styles, reading type, panel fill, chat colour saturation).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AppDesign builds each design's light and dark ThemeData with an
AppDesignTokens extension (corner radius, flat surfaces, frame colour,
ANSI accents, prompt glyph). Settings gains a Design picker stored per
device; the theme hosts rebuild live. Terminal is monospace (bundled
RobotoMono), near-black or paper, flat 1px frames with 3px corners, and
draws the chat transcript as prompt lines, tool dot/result lines and
bracketed follow-up lines. Default keeps its exact themes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>