feat(settings): raise terminal font size max to 64px with stepped slider and px input#511
Merged
Conversation
…der and px input
The terminal font size setting previously capped at 32px. Raise
TERMINAL_FONT_SIZE_MAX to 64 (400% of the 16px base, matching the UI
scale treatment) and move the Font size row to SteppedRangeInput:
- Discrete slider over TERMINAL_FONT_SIZE_PX_OPTIONS: 1px steps from
12-32, 2px steps 34-48, 4px steps 52-64 (33 stops)
- Numeric px input alongside; commits on blur/Enter, Escape reverts,
clamps to [12, 64], typed off-list values (e.g. 33) are legal
- New optional annotation prop on SteppedRangeInput surfaces the
percent-of-base annotation ("16px (100%)") in aria-valuetext and a
live suffix label; no behavior change for callers without it
- docs/index.html mock rows updated (font size max 64; stale UI scale
max from #509 fixed to 4)
- Full test coverage incl. keyboard boundary at 32px; verified with
npm run check (full coordinated suite green)
Generated with Amplifier
Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.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.
What
Raise the terminal font size cap from 32px to 64px (400% of the 16px base, matching the UI scale treatment) and move the Font size row to
SteppedRangeInput:TERMINAL_FONT_SIZE_PX_OPTIONS: 1px steps from 12-32, 2px steps 34-48, 4px steps 52-64 (33 stops)annotationprop onSteppedRangeInputsurfaces the percent-of-base annotation ("16px (100%)") inaria-valuetextand a live suffix label; no behavior change for callers without itdocs/index.htmlmock rows updated (font size max 64; stale UI scale max from feat(settings): raise UI scale max to 400% with stepped slider and percent input #509 fixed to 4)Why
Parity with the UI scale 400% change (PR #509) for low-vision and large-display use — the terminal font size setting was still capped at 32px.
Verification
npm run checkfull coordinated suite green (typecheck + 8,694 tests passed)npm run lint0 errorsdocs/plans/2026-07-08-terminal-font-size-400-spec.mdGenerated with Amplifier