Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(mobile): use typography token for shared chart labels

zqchris9dcfd7a157e9
diff --git a/apps/mobile/src/session/conversationShareRichAnswer.ts b/apps/mobile/src/session/conversationShareRichAnswer.ts
index 166fbb4913..67a5470acd 100644
--- a/apps/mobile/src/session/conversationShareRichAnswer.ts
+++ b/apps/mobile/src/session/conversationShareRichAnswer.ts
@@ -396,7 +396,7 @@ export function layoutConversationShareRichAnswer(
y: tick.y + 4,
text: tick.label,
textAnchor: "end",
- fontSize: 12,
+ fontSize: typeScale.caption,
fill: "secondary",
});
}
@@ -423,7 +423,7 @@ export function layoutConversationShareRichAnswer(
y: point.y - 10,
text: String(point.value),
textAnchor: "middle",
- fontSize: 12,
+ fontSize: typeScale.caption,
});
}
for (const item of plot.labels)
@@ -433,7 +433,7 @@ export function layoutConversationShareRichAnswer(
y: plot.labelY,
text: item.label,
textAnchor: "middle",
- fontSize: 12,
+ fontSize: typeScale.caption,
});
const vector = richVector(
{