fix: advanced theming of message (myMessageTheme) - #3759
Merged
Conversation
Contributor
SDK Size
|
szuperaz
force-pushed
the
fix-my-message-theming
branch
from
August 6, 2026 15:26
b5a8f9d to
143f441
Compare
szuperaz
force-pushed
the
fix-my-message-theming
branch
from
August 6, 2026 17:22
143f441 to
cde040f
Compare
szuperaz
marked this pull request as ready for review
August 7, 2026 13:25
isekovanic
approved these changes
Aug 7, 2026
Contributor
|
π This PR is included in version 9.7.4 π The release is available on:
Your semantic-release bot π¦π |
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.
π― Goal
fixes #3755
Allow using light-on-dark for outgoing messages; and dark-on-light for outgoing messages. To achieve this, it's not enough to customize theme tokens; we have to use
myMessageThemeto provide a completely separate theme for outgoing messages only. This is a preexsting mechanism in the SDK; but had a few small issues preventing working correctly. To verify a new cookbook is added: https://github.com/GetStream/docs-content/pull/1490π Implementation details
There were a few different theming issues here; all fixed in a separate commit in this PR:
myMessageTheme)myMessageThemeisMyMessagesand selecting incoming/outgoing token based on thatπ¨ UI Changes
Before - failed outgoing message background changed to incoming:

After - in line with Figma:

Before - editing our own message styled as incmoing in composer:

After - in line with Figma:

Before - poll modal vote circle inaccurate color:

After - in line with Figma:

π§ͺ Testing
βοΈ Checklist
developbranch