Paper design: warm paper, serif reading text and a typeset transcript

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>
This commit is contained in:
2026-12-03 18:00:07 +00:00
parent ef353ccf9a
commit 7d2c3412a1
57 changed files with 2224 additions and 110 deletions
@@ -57,8 +57,15 @@ class ChatCodeHover {
onEnter: (_) => _exit?.cancel(),
onExit: (_) => scheduleHide(token),
child: Material(
elevation: 3,
borderRadius: BorderRadius.circular(8),
// A floating piece, shaped as the design's menus are.
elevation: Theme.of(context).popupMenuTheme.elevation ?? 3,
shadowColor: Theme.of(context).popupMenuTheme.shadowColor,
color: Theme.of(context).popupMenuTheme.color,
shape:
Theme.of(context).popupMenuTheme.shape ??
const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(8)),
),
child: ChatCopyButton(text: text, showLabel: true),
),
),