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