COUITheme

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

The COUI theme that provides color and text styles for the COUI 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 COUI components.

content

The content of the COUI theme.


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

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

Parameters

colors

The color scheme for the COUI components.

textStyles

The text styles for the COUI components.

content

The content of the COUI theme.