AccentColorSelector

fun AccentColorSelector(modifier: Modifier = Modifier, isDark: Boolean = false, darkThemeToken: DarkThemeToken = DarkThemeToken.FRAPPE, selectedToken: ColorToken = ColorToken.MAUVE, onSelected: (Color, ColorToken) -> Unit = { _, _ -> })(source)

Renders the AccentColorSelector UI for the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

modifier

Compose modifier applied to the rendered UI.

isDark

is dark value consumed by the API.

darkThemeToken

dark theme token value consumed by the API.

selectedToken

selected token value consumed by the API.

onSelected

callback invoked by the component.