Skip to content

feat(desktop): add text size setting#3144

Open
wade19990814-hue wants to merge 1 commit into
esengine:main-v2from
wade19990814-hue:codex/desktop-font-size
Open

feat(desktop): add text size setting#3144
wade19990814-hue wants to merge 1 commit into
esengine:main-v2from
wade19990814-hue:codex/desktop-font-size

Conversation

@wade19990814-hue
Copy link
Copy Markdown

@wade19990814-hue wade19990814-hue commented Jun 4, 2026

Summary

  • add a desktop text size preference with Small / Default / Large / Extra large options
  • persist the preference in localStorage and apply it before first paint via a root data-text-size attribute
  • route core desktop typography through reusable CSS tokens for controls, chat content, code, tool cards, composer, status bar, and settings

Scope

This is intentionally limited to text scaling. It does not add custom font-family selection, so it only partially relates to #3036. It also addresses the readability side of #3091 without touching cache behavior.

Related: #3036, #3091

ScreenShot

屏幕截图 2026-06-05 011441 屏幕截图 2026-06-05 011356

Test Plan

  • cd desktop/frontend && pnpm run build
  • cd desktop && go test ./...
  • Manual Windows desktop smoke test: changed text size in Settings -> Appearance and verified the UI updates and persists

@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant