Package-level declarations
Types
Link copied to clipboard
@Serializable
Serializable data class representing the theme configuration for the application.
Link copied to clipboard
data class ThemeConfig(val primary: Color, val primaryVariant: Color, val secondary: Color, val secondaryVariant: Color, val background: Color, val surface: Color, val error: Color, val onPrimary: Color, val onSecondary: Color, val onBackground: Color, val onSurface: Color, val onError: Color, val isLight: Boolean)
Data class representing the theme configuration for the application.
Functions
Link copied to clipboard
Applies the Malefic theme to the given content.
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.
Link copied to clipboard
Loads a theme configuration from a JSON string and applies the Malefic theme to the given content.
Link copied to clipboard
Loads a theme configuration from a platform-specific resource and applies the Malefic theme to the given content.