Skip to content

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

Merged
LeoBorcherding merged 2 commits into
unslothai:mainfrom
LeoBorcherding:fix-voice-tab-ui-font-tokens
Jul 27, 2026
Merged

LeoBorcherding merged 2 commits 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.
@LeoBorcherding

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: ea00f183d2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@LeoBorcherding
LeoBorcherding merged commit 56fb522 into unslothai:main Jul 27, 2026
1 of 2 checks passed
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