Chat font size setting - #8
Merged
Merged
Conversation
Terminal font size had a setting, the chat's text did not. Settings → Chat now has a Chat font size stepper (11–24px). Until one is chosen it follows the density (14px comfortable, 13px compact); a chosen size is kept per device with the other settings. The chat view scales the type tokens by the chosen size over the density's, and the transcript uses the scaled ones, so messages, code blocks and prompt cards grow together while the rest of the UI, and the composer's 16px (below which iOS zooms), stay as they are. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Terminal text has a size setting, but chat text didn't. This PR adds Settings → Chat → Chat font size, a − / + stepper from 11 to 24px that works like the terminal one.
chosen / density size(--chat-scale), and the transcript uses the scaled tokens under the same names. Messages, the user's bubbles, code blocks and prompt cards all grow together.4 files changed, including a new
settings.test.ts. This PR doesn't depend on #5, #6 or #7. The only overlap is with #5, which removesscroll-behavior: smoothfrom the same.chat-viewrule, so whichever PR merges second needs a one-line rebase.Testing
bun run typecheckpasses andbun testpasses 257/257. Onmainwithout this PR it's 256; the extra one is the new settings test.🤖 Generated with Claude Code