Skip to content

Studio voice-tab: use text-ui-* tokens instead of raw px text sizes#7378

Open
LeoBorcherding wants to merge 1 commit into
unslothai:mainfrom
LeoBorcherding:fix-voice-tab-ui-font-tokens
Open

Studio voice-tab: use text-ui-* tokens instead of raw px text sizes#7378
LeoBorcherding wants to merge 1 commit into
unslothai:mainfrom
LeoBorcherding:fix-voice-tab-ui-font-tokens

Conversation

@LeoBorcherding

Copy link
Copy Markdown
Collaborator

The STT dictation model list in voice-tab.tsx uses text-[9px] and text-[10px], which ignore the UI font-size preference and fail the test_no_raw_pixel_text_utilities contract test (currently red on Repo tests (CPU)).

Swap them for the scale-aware text-ui-9 / text-ui-10 tokens already defined in index.css. No visual change at the default scale; the sizes now track the user's UI font-size setting like every other text utility.

The STT model list used text-[9px] and text-[10px], which ignore the UI
font-size preference and fail the test_no_raw_pixel_text_utilities contract.
Swap them for the scale-aware text-ui-9 / text-ui-10 tokens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant