colors

fun colors(imagePlaceholder: Color = MaterialTheme.colorScheme.surfaceContainerHighest, background: Color = MaterialTheme.colorScheme.surfaceContainerLow, border: Color = MaterialTheme.colorScheme.outlineVariant, iconBackground: Color = MaterialTheme.colorScheme.primary, icon: Color = MaterialTheme.colorScheme.onPrimary, name: Color = MaterialTheme.colorScheme.onSurface, details: Color = MaterialTheme.colorScheme.onSurfaceVariant): AIMessageAttachmentColors

The default palette, from the current MaterialTheme.

Parameters

imagePlaceholder

Color behind an image, which shows while it loads or when it can't be read.

background

Color of a file's card.

border

Color of the outline of a file's card.

iconBackground

Color of the square behind the icon of a file's type.

icon

Color of the icon of a file's type.

name

Color of a file's name.

details

Color of a file's type and size.