colorScheme

@get:Composable
@get:ReadOnlyComposable
val colorScheme: ColorScheme

Retrieves the current ColorScheme at the call site's position in the hierarchy.

Samples

androidx.compose.material3.samples.ThemeColorSample