AiAssistantColorScheme

class AiAssistantColorScheme(val containerColor: Color = Color.Unspecified, val chatBackground: Color = Color.Unspecified, val mineChatBackground: Color = Color.Unspecified, val mineChatTextColor: Color = Color.Unspecified, val innerChatBackground: Color = Color.Unspecified, val innerChatTextColor: Color = Color.Unspecified, val textFieldBackgroundColor: Color = Color.Unspecified, val textFieldTextColor: Color = Color.Unspecified, val textFieldHintColor: Color = Color.Unspecified, val retryButtonBackgroundColor: Color = Color.Unspecified, val toolbarTextColor: Color = Color.Unspecified, val textColor: Color = Color.Unspecified, val iconColor: Color = Color.Unspecified, val submitButtonEnabledColor: Color = Color.Unspecified)

Color scheme for the AI assistant chat UI.

A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved.

Constructors

Link copied to clipboard
constructor(containerColor: Color = Color.Unspecified, chatBackground: Color = Color.Unspecified, mineChatBackground: Color = Color.Unspecified, mineChatTextColor: Color = Color.Unspecified, innerChatBackground: Color = Color.Unspecified, innerChatTextColor: Color = Color.Unspecified, textFieldBackgroundColor: Color = Color.Unspecified, textFieldTextColor: Color = Color.Unspecified, textFieldHintColor: Color = Color.Unspecified, retryButtonBackgroundColor: Color = Color.Unspecified, toolbarTextColor: Color = Color.Unspecified, textColor: Color = Color.Unspecified, iconColor: Color = Color.Unspecified, submitButtonEnabledColor: Color = Color.Unspecified)

Properties

Link copied to clipboard

Background color for the chat area; surface by default.

Link copied to clipboard

Background color of the AI assistant container; background by default.

Link copied to clipboard

Color used for icons in the AI assistant UI; primary by default.

Link copied to clipboard

Background color for AI response messages; secondaryContainer by default.

Link copied to clipboard

Text color for AI response messages; onSecondaryContainer by default.

Link copied to clipboard

Background color for user's chat messages; secondary by default.

Link copied to clipboard

Text color for user's chat messages; onSecondary by default.

Link copied to clipboard

Background color for the retry button; onSecondaryContainer by default.

Link copied to clipboard

Color of the submit button when enabled; secondaryContainer by default.

Link copied to clipboard

Default text color used in the AI assistant UI; primary by default.

Link copied to clipboard

Background color for the text input field; background by default.

Link copied to clipboard

Hint text color for the text input field; onSurfaceVariant by default.

Link copied to clipboard

Text color for the text input field; onBackground by default.

Link copied to clipboard

Text color for the AI assistant toolbar; primary by default.

Functions

Link copied to clipboard
fun copy(containerColor: Color = this.containerColor, chatBackground: Color = this.chatBackground, mineChatBackground: Color = this.mineChatBackground, mineChatTextColor: Color = this.mineChatTextColor, innerChatBackground: Color = this.innerChatBackground, innerChatTextColor: Color = this.innerChatTextColor, textFieldBackgroundColor: Color = this.textFieldBackgroundColor, textFieldTextColor: Color = this.textFieldTextColor, textFieldHintColor: Color = this.textFieldHintColor, retryButtonBackgroundColor: Color = this.retryButtonBackgroundColor, toolbarTextColor: Color = this.toolbarTextColor, textColor: Color = this.textColor, iconColor: Color = this.iconColor, submitButtonEnabledColor: Color = this.submitButtonEnabledColor): AiAssistantColorScheme

Returns a copy with the given colors replaced.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two AiAssistantColorScheme are equal when all their colors are.

Link copied to clipboard
open override fun hashCode(): Int

A hash of all the colors, consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every color, by property name.