AiType

object AiType(source)

Reading type for conversation content, derived from the app's MaterialTheme.typography (so custom fonts carry over). Chat is long-form reading on a small screen: body sits between M3 bodyMedium and bodyLarge, the same density as mainstream assistant apps, and headings step down so a reply doesn't read like a document title page.

Properties

Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val body: TextStyle

Message text, in both the user bubble and assistant Markdown.

Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val code: TextStyle

Code blocks.

Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val h1: TextStyle
Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val h2: TextStyle
Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val h3: TextStyle
Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val h4: TextStyle
Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val small: TextStyle

Tables and other secondary content.