bundled
All bundled themes provided by the library.
Themes are represented as lightweight HighlightThemeDescriptor instances that provide display metadata (HighlightThemeDescriptor.displayName, HighlightThemeDescriptor.isDark) without initializing the theme until accessed.
LazyRow {
items(HighlightTheme.bundled) { descriptor ->
ThemeChip(
label = descriptor.displayName,
selected = selectedThemeId == descriptor.id,
onClick = { onThemeSelected(descriptor.id) },
)
}
}Content copied to clipboard