Repository navigation
Give maple-gpui a readable chat type system - #952
Merged
Merged
Conversation
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.
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
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)
Geist Monofamily)**strong**and headings: SemiBold 600, not Bold 700Settings → Chat appearance
chat_font_family/chat_font_size; existing settings files pick up the new defaultsNot in this PR
just ciinapps/maple-agentpassed (fmt, clippy-D warningsacross 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.