GeezerVison is showing github.com — feat(web): add a chat font size setting by fionn77 · Pull Request #24461 · pingdotgg/t3code
Conversation
Problem
The only way to read the conversation at a larger size is to raise Interface font size, which also enlarges the sidebar, thread list, settings, and every other piece of chrome. Users asking for this are collected in discussion #10769 (and the duplicates closed into it, #20941 and #14074).
Change
Adds Chat font size to Settings → Appearance → Typography, directly under Interface font. It defaults to Interface, so nothing changes for anyone who doesn't touch it, and it has a reset back to Interface.
When set, the root carries --chat-font-size-ratio (chat size ÷ interface size). Timeline rows get a chat-text-scope class that rescales Tailwind's --text-xs/sm/base/lg tokens and the chat-markdown heading sizes by that ratio. Because the scaling only applies inside timeline rows:
- your messages, agent replies, and tool activity rows scale;
- sidebar, header, settings, and the prompt box keep the interface size (the prompt already has its own size);
- code blocks keep the code font size, since they size themselves in pixels through
--font-size-code.
Files touched: the setting in packages/contracts/src/settings.ts, the ratio in appearanceFonts.ts, the scope CSS in index.css, one class on the timeline row wrapper, and the settings row, search entry and reset wiring.
Scope
This is meant as a focused configuration option for the existing typography settings: one setting, defaulting to current behavior, that only resizes conversation text. No workflows, defaults, or other surfaces change. I know earlier attempts (#16001, #18337) were closed for needing maintainer agreement first. I've added this to #10769 and I'm happy to close it if you'd rather keep this out for now. Mobile is unchanged; its native timeline has separate sizing.
Verification
vp test run apps/web/src/appearanceFonts.test.ts apps/desktop/src/settings/DesktopClientSettings.test.ts apps/web/src/components/settings/SettingsPanels.logic.test.ts: 14 passed. The new test covers the ratio: follows interface when unset or equal, scales, and clamps out-of-range values.
apps/web and apps/desktop typecheck pass; lint and format pass on the changed files.
- Real web client (
vp run dev on isolated state, one seeded demo thread), interface 16 px, code 13 px, prompt 14 px. After setting chat to 20 px, computed sizes were: reply paragraph 14 → 17.5 px, user message 14 → 17.5 px, reply h2 18 → 22.5 px, prompt 14 px (unchanged), code block 13 px (unchanged), sidebar unchanged. The setting persisted across reload, and the reset returned it to Interface and removed the ratio variable.
- Not checked: the Electron desktop shell (it renders the same web UI) and very long virtualized threads.
| Before: chat follows Interface (16 px) |
After: Chat font size 20 px |
 |
 |
Settings row:

The reply in the screenshots was seeded directly into the dev database as a visual fixture (the provider was rate-limited at the time), not produced by a live turn.
Implemented by Claude Opus 5.5 in the Claude Code harness, running inside T3 Code.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Conversation text can now be sized independently of the interface. The
setting follows the interface size by default; an explicit size rescales
the text tokens inside timeline rows, leaving chrome, the prompt and code
at their own sizes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Approvability
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — This adds a persisted chat-font preference with new settings UI and CSS/runtime plumbing spanning shared contracts, appearance synchronization, and conversation timeline rendering. The default preserves current behavior, but the multi-file user-facing implementation is broader than a self-contained typography tweak.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between d53873b and cddcab2.
Files selected for processing: 11
-
apps/desktop/src/settings/DesktopClientSettings.test.ts
apps/web/src/appearanceFonts.test.ts
apps/web/src/appearanceFonts.ts
apps/web/src/components/chat/MessagesTimeline.tsx
apps/web/src/components/settings/SettingsPanels.logic.ts
apps/web/src/components/settings/SettingsPanels.tsx
apps/web/src/components/settings/TypographySettings.tsx
apps/web/src/components/settings/settingsSearch.ts
apps/web/src/index.css
apps/web/src/routes/__root.tsx
packages/contracts/src/settings.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Walkthrough
-
The change adds a nullable chat font-size setting and controls, calculates its scale relative to the interface font size, and applies that scale to text and headings in chat content.
Changes: Chat font-size setting and rendering
| Layer / File(s) |
Summary |
Font-size contract and scale calculation packages/contracts/src/settings.ts, apps/web/src/appearanceFonts.ts, apps/web/src/appearanceFonts.test.ts, apps/desktop/src/settings/DesktopClientSettings.test.ts |
The settings contract accepts a nullable chat font size. Appearance code calculates the ratio against the clamped interface size and sets or clears the corresponding CSS variable. Tests cover null, equal, differing, and out-of-range sizes. |
Chat font-size setting controls apps/web/src/components/settings/TypographySettings.tsx, apps/web/src/components/settings/SettingsPanels.logic.ts, apps/web/src/components/settings/SettingsPanels.tsx, apps/web/src/components/settings/settingsSearch.ts, apps/web/src/routes/__root.tsx |
Both typography layouts include a chat font-size control. Defaults, change detection, search, and appearance synchronization include the setting. |
Scaled chat text rendering apps/web/src/index.css, apps/web/src/components/chat/MessagesTimeline.tsx |
The chat timeline receives a text-scaling scope. Chat and composer headings use the chat font scale. |
Priority: Low
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Feature
Sequence Diagram(s)
sequenceDiagram
actor User
participant TypographySettings
participant ClientSettings
participant FontAppearanceSync
participant applyAppearanceFontVariables
participant ChatTimeline
User->>TypographySettings: choose chat font size
TypographySettings->>ClientSettings: update fontSizeChat
FontAppearanceSync->>ClientSettings: read fontSizeChat
FontAppearanceSync->>applyAppearanceFontVariables: pass sizeChat
applyAppearanceFontVariables->>ChatTimeline: set or clear chat font-size ratio
Loading
Possibly related issues
pingdotgg/t3code#24166: This change scales text in the chat timeline. The summaries do not describe table-specific inline-code sizing, so the issue’s inline-code sizing requirement may still apply.
Suggested reviewers: t3dotgg, juliusmarminge
Merge Risk: Minimal · up to cddca
-
The chat font-size change is mergeable after normal checks; no unresolved issue was established.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title "feat(web): add a chat font size setting" matches the main change: a new Chat font size option in Settings → Appearance → Typography. It follows conventional commit form and is specific enou… |
| Description check |
 |
The description follows the template structure, with Problem, Change, Scope, and Verification sections all filled in. The Problem section gives the motivation and links the related discussion. The Cha… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title "feat(web): add a chat font size setting" matches the main change: a new Chat font size option in Settings → Appearance → Typography. It follows conventional commit form and is specific enough for a teammate scanning history. The title does not mention the scoped rescaling of timeline rows, but it does not need to cover every detail.
Full details: Description check
-
Explanation
The description follows the template structure, with Problem, Change, Scope, and Verification sections all filled in. The Problem section gives the motivation and links the related discussion. The Change section explains the defaulting behavior, the CSS ratio approach, and the files touched. The Scope section addresses the approval requirement by linking discussion #10769 and noting earlier closed attempts. The Verification section lists the test command, typecheck and lint results, a real-client check with computed sizes, before/after screenshots, and the items not checked. The template asks for a conventional commit title, which the PR title follows. The description is complete and specific.
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
the prior-approval rule applies to #24461 at cddcab2609. the diff introduces independent persisted chat typography; the body acknowledges prior closures #16001 and #18337, where Maria required maintainer agreement for this direction, and discussions #10769, #14074 and #20941 contain no such approval.
obtain explicit maintainer approval of the independent chat-size scope in discussion #10769 and link that approval before requesting reconsideration; preserve the reported need for readable conversation text.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 10, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:L
100-499 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|