Studio: use text-ui-* tokens instead of raw px in the voice tab

Replaces the raw text-[9px] and text-[10px] classes with the text-ui-9 and text-ui-10 scale tokens so the voice tab labels honor the --ui-font-scale typography setting like the rest of the UI.
This commit is contained in:
Daniel Han 2026-07-23 21:55:13 -07:00 committed by GitHub
commit 63d8da34d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -278,13 +278,13 @@ function SttModelPicker({
{sttModelName(model)}
</span>
{twoLines ? (
<span className="mt-0.5 block truncate font-mono text-[9px] leading-tight text-muted-foreground">
<span className="mt-0.5 block truncate font-mono text-ui-9 leading-tight text-muted-foreground">
{sttModelSource(model)}
</span>
) : null}
</span>
{sttModelSize(model) ? (
<span className="shrink-0 text-[10px] tabular-nums text-muted-foreground">
<span className="shrink-0 text-ui-10 tabular-nums text-muted-foreground">
{sttModelSize(model)}
</span>
) : null}