create

public final static ThemeColors create(Color primary, Color onPrimary, Color background, Color onBackground, Color surface, Color onSurface, Color surfaceVariant, Color surfaceContainer, Color surfaceContainerHigh, Color onSurfaceHigh, Color onSurfaceHighest, Color accent, Color onAccent, Color agentBackground, Color agentText, Color customerBackground, Color customerText, Color agentAvatarForeground, Color agentAvatarBackground, Color subtle, Color muted, Color positionInQueueBackground, Color positionInQueueForeground, Color messageSent, Color messageSending, Color error, Brush accentHeader, Color onAccentHeader, Color textFieldLabelBackground, Color textFieldLabelText)

Create a set of colors for either dark or light mode. Two sets, one for dark and one for light, must be created for full colorization.

Parameters

primary

Android primary color.

onPrimary

Color for icons and text displayed on primary.

background

Android background color.

onBackground

Major color used when drawing on background.

surface

Material surface color.

onSurface

Color for icons and text displayed on surface.

surfaceVariant

Major color variant used when drawing on surface (background).

surfaceContainer

Major used for container on surface (background).

surfaceContainerHigh

Major color used when drawing on surfaceContainer with high tonal elevation.

onSurfaceHigh

Major color used when drawing on surface with high tonal elevation.

onSurfaceHighest

Major color used when drawing on surface with highest tonal elevation.

accent

Android accent color.

onAccent

Android onAccent color.

agentBackground

Background color for agent bubbles.

agentText

Color for agent text.

customerBackground

Background color for customer bubbles.

customerText

Color for customer text.

agentAvatarForeground

Color for agent avatar monogram displayed next to the message.

agentAvatarBackground

Background color for agent avatar monogram displayed next to the message.

subtle

Subtle background color used for extra action elements.

muted

Color used to highlight an edge of a subtle element.

positionInQueueBackground

color for position in queue panel.

positionInQueueForeground

color for position in queue panel.

messageSent

color for message sent icon.

messageSending

color for message sending icon.

error

Color for error content.

accentHeader

Brush used for headers emulating accent colors.

onAccentHeader

Color for icons and text displayed on accentHeader.

textFieldLabelBackground

Background color for text field label.

textFieldLabelText

Text color for text field label.