currentState

@get:Composable
val currentState: MutableState<ColorMode>(source)

The current color mode, exposed as a MutableState so that you can change it and have the UI update.

See also current if you only need read-only access to the current color mode.