align card font sizes across the conversation stream (T-344)

ClideCollapserCard and ConversationCard sat adjacent but used different
tokens for the same roles, so labels/summaries rendered 1-2px apart.
Standardise both on label = clideFontCaption (14), collapsed summary =
clideFontMeta (13): bump ConversationCard's label up from clideFontSmall,
bring the collapser's summary down from clideFontCaption. Goldens
regenerated for the affected card images.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-10 18:15:56 +02:00
co-authored by Claude Opus 4.8
parent 75cf14f1cb
commit fb0179d493
10 changed files with 28 additions and 2 deletions
@@ -246,7 +246,9 @@ class _ConversationCardState extends State<ConversationCard> {
return Row(
children: [
if (widget.collapsible) _caret(tokens),
ClideText(widget.label, fontSize: clideFontSmall, color: widget.accent, fontFamily: clideMonoFamily),
// Header label size matches ClideCollapserCard (clideFontCaption) so
// neighbouring cards in the conversation stream align (T-344).
ClideText(widget.label, fontSize: clideFontCaption, color: widget.accent, fontFamily: clideMonoFamily),
// While collapsed, show a one-line gist next to the label so the card
// still says what it holds.
if (_collapsed && summary != null) ...[
+3 -1
View File
@@ -117,7 +117,9 @@ class _ClideCollapserCardState extends State<ClideCollapserCard> {
Expanded(
child: ClideText(
widget.collapsedSummary!,
fontSize: clideFontCaption,
// Summary one step below the label, matching ConversationCard so
// collapser + tool cards read consistently in the stream (T-344).
fontSize: clideFontMeta,
fontFamily: clideMonoFamily,
color: tokens.globalTextMuted,
maxLines: 1,