MaleficTheme

fun MaleficTheme(themeConfig: ThemeConfig, content: @Composable () -> Unit)

Applies the Malefic theme to the given content.

Parameters

themeConfig

The configuration for the theme.

content

The composable content to which the theme will be applied.

fun MaleficTheme(inputStream: InputStream, content: @Composable () -> Unit)

JVM-specific extension for loading a theme configuration from an InputStream and applying the Malefic theme. This function is provided for backward compatibility with JVM/Desktop applications.

Parameters

inputStream

The InputStream containing the theme configuration.

content

The composable content to which the theme will be applied.