MiuixTheme

fun MiuixTheme(controller: ThemeController, textStyles: TextStyles = MiuixTheme.textStyles, content: @Composable () -> Unit)

The Miuix theme that provides color and text styles for the Miuix components. This theme supports dynamic color schemes through the ThemeController.

Parameters

controller

The ThemeController that controls the current color scheme.

textStyles

The text styles for the Miuix components.

content

The content of the Miuix theme.


fun MiuixTheme(colors: Colors = MiuixTheme.colorScheme, textStyles: TextStyles = MiuixTheme.textStyles, content: @Composable () -> Unit)

The Miuix theme that provides color and text styles for the Miuix components. This theme uses the provided colors and textStyles.

Parameters

colors

The color scheme for the Miuix components.

textStyles

The text styles for the Miuix components.

content

The content of the Miuix theme.