Repository navigation
Add message typography and inline link styling theme keys #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
josej-ea
merged 7 commits into
adobe:dev
from
josej-ea:feature/theme-message-typography
Nov 17, 2026
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c5deba2
Add message typography and inline link styling theme keys
josej-ea 74ae7c3
Fix message typography validation and nested rendering
josej-ea 80f7bdc
Fix typography spacing test wrapping on narrow CI viewports
josej-ea 0673815
Remove unused legacy line-height parser
josej-ea 1e0084e
Scale message line height with themed font size
josej-ea 43dec3a
Fix typography overflow fallback regression test
josej-ea 5af0515
Preserve inherited em line heights when theming message size
josej-ea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Release notes | ||
|
|
||
| ## Unreleased | ||
|
|
||
| ### Message typography | ||
|
|
||
| Added optional message body size/weight and inline link weight/underline theme | ||
| overrides. Defaults preserve existing behavior. Invalid CSS sizes and weights | ||
| are ignored with a warning, including programmatic typography supplied to | ||
| `ConciergeTheme`. Link overrides also apply in lists and blockquotes; | ||
| Markdown-bold links retain at least bold weight. Explicit body line height is | ||
| preserved through response paragraph rendering; omitted line height retains | ||
| existing response spacing. Pixel line heights (for example `"24px"`) are absolute | ||
| scaled sizes rather than multipliers. Body paragraph line height no longer | ||
| overrides headings or fenced code, including nested blocks. | ||
| Response paragraphs and list items also supply their resolved body font size to | ||
| Compose so explicit line heights scale consistently at accessibility font sizes. | ||
|
|
||
| **Binary compatibility:** Adding parameters to the public `ConciergeTypography` | ||
| Kotlin data class, including `lineHeightPx` for absolute line height, changes its | ||
| constructor and generated `copy` signatures. | ||
| Default parameter values preserve ordinary source calls that omit the new | ||
| parameters, but do not preserve binary compatibility. Applications and libraries | ||
| compiled against the previous class must be recompiled when upgrading. | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[LOW] "Defaults preserve existing behavior" undersells one visible change.
--line-height-bodypreviously never reached bot markdown responses, becausetoSpanStyle()dropslineHeight. It now does, viaParagraphStyle. Every bundled sample theme sets it (1.5–1.75), and most customer themes probably do too, so bot response spacing will change on upgrade. This matches iOS, which already applies the multiplier to agent messages, but it's worth stating explicitly as a behavior change so integrators expect it.