PaletteonKobwebProvider

@Composable
fun PaletteonKobwebProvider(content: @Composable () -> Unit)

A Composable provider for managing the Paletteon theme and color mode within a Kobweb application.

This provider observes changes to the current Paletteon theme and updates the color mode accordingly. It ensures that the color mode (light or dark) is synchronized with the theme configuration and saved to local storage. This is useful for maintaining consistent theming across your application.

Parameters

content

The composable content to be displayed within the provider. This function will be provided with the updated theme and color mode settings.