Skip to content

Give maple-gpui a readable chat type system - #952

Merged
AnthonyRonning merged 5 commits into
masterfrom
codex-gtype-maple
Sep 16, 2026
Merged

AnthonyRonning merged 5 commits into
masterfrom
codex-gtype-maple

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

Summary

End-state typography for the GPUI app only. Chat reading no longer uses Manrope Regular at 16px / Bold 700, which is what made conversation text look welded together.

Defaults (the thing to react to first)

  • Chat + composer: system UI font (SF Pro on macOS) at 15px, line-height 1.65, weight 400
  • Chrome (sidebar, settings, buttons): Manrope 14px
  • Empty-state hero: Array Wide 36/48
  • Settings titles: Array Regular 26/32
  • Code: Geist Mono variable (so Medium actually belongs to the Geist Mono family)
  • Markdown **strong** and headings: SemiBold 600, not Bold 700
  • Heading sizes are ems of the live chat size (h1 2em, h2 1.5em, h3 1.25em)

Settings → Chat appearance

  • Font: System (default), Manrope, Geist, Serif
  • Size: 13–18px (default 15)
  • Persisted as chat_font_family / chat_font_size; existing settings files pick up the new defaults

Not in this PR

  • Research / Tauri is unchanged
  • GPUI has no letter-spacing API, so the web app’s 0.1px tracking is not reproduced
  • No GUI verification; just ci in apps/maple-agent passed (fmt, clippy -D warnings across feature sets, tests)

Play with System / Manrope / Geist / Serif and the size slider. If a default should stay or slip, we can keep a subset.

Default conversation and composer text to the platform UI font at 15px
with 1.65 line-height. Keep Manrope 14 for chrome, Array for display,
and Geist Mono for code. Add Settings → Chat appearance with System,
Manrope, Geist, and Serif plus 13–18px. Markdown emphasis and headings
use SemiBold 600, with heading sizes as ems of the live chat size.
14px reads cleaner than 15 on the native renderer. Settings now shows
a transcript mock next to the pickers, renders each font option in
itself, and offers SF Pro Text as a named face so System vs Manrope
can be judged without leaving the pane.
The mock sat on the same elevated fill as the user bubble, so the
right-hand message disappeared. Recess a real chat well inside the
card and stack two compact turns, assistant left and you right.
Lift the chat well off near-black, paint body in Pebble 200 instead of
Pebble 50, keep markdown headings one step brighter, and raise muted
text to Pebble 400 so small chrome still meets WCAG AA. Light mode is
unchanged. Caret and on-accent stay bright so coral and the insertion
point still pop.
gpui/font-kit cannot select Array Wide or variable wght instances, so the
hero and three picker options were falling through to Helvetica or Regular.
Ship static Geist/Mono weights, request Georgia for Serif, drop the redundant
SF Pro row, and stop asking for Array Wide (ITF forbids renaming). Also stop
pinning weight via Styled::font(), key the composer measure cache on the live
face, and tighten a few contrast nits.
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review September 16, 2026 22:56
@AnthonyRonning
AnthonyRonning merged commit 1caa944 into master Sep 16, 2026
26 of 27 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-gtype-maple branch September 16, 2026 23:30
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