How to customize the background color of the conversation Input area #80
elliot-choic
announced in
Conversation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Versions
Summary
This guide explains how to customize the background color of the Conversation Input area
Guide & Snippet
Android
Steps to Customize the Input Area Background Color
Step 1: Define your custom
InputThemeOverride the
backgroundColoror any other related style in your custom implementation.Step 2: Create a custom
MessengerThemeExtend the default
LightThemeand override theinputtheme inside theConversationTheme.Step 3: Register the custom theme
Make sure to register your
MessengerThemeusingAIAgentThemeProviders.React
How to customize the background color of the message input box
The message input box background is applied to a container that is the grandparent (parent's parent) of the textarea element. You can target it precisely using CSS with the
:has()pseudo-class:DOM Structure Reference:
Reference
No response
Screenshots
Beta Was this translation helpful? Give feedback.
All reactions