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:
@@ -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),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user