Function

expressiveLightColorScheme

Returns a light Material color scheme.

MaterialExpressiveThemeColorSchemeSample

@OptIn(ExperimentalMaterial3ExpressiveApi::class)
@Composable
fun MaterialExpressiveThemeColorSchemeSample() {
    @Composable
    fun MyMaterialTheme(content: @Composable () -> Unit) {
        MaterialExpressiveTheme(
            colorScheme =
                if (isSystemInDarkTheme()) darkColorScheme() else expressiveLightColorScheme()
        ) {
            content()
        }
    }
}