Function

expressiveLightColorScheme

Returns a light Material color scheme.

Source set: Common

Added in 1.5.0-alpha17

@ExperimentalMaterial3ExpressiveApi
fun expressiveLightColorScheme() =
    lightColorScheme(
        onPrimaryContainer = PaletteTokens.Primary30,
        onSecondaryContainer = PaletteTokens.Secondary30,
        onTertiaryContainer = PaletteTokens.Tertiary30,
        onErrorContainer = PaletteTokens.Error30,
    )

Returns a light Material color scheme.

The default color scheme for MaterialExpressiveTheme. For dark mode, use darkColorScheme.

Example of MaterialExpressiveTheme toggling expressiveLightColorScheme and darkTheme.