Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun PersistentKepkoTheme(dimensions: Dimensions = KepkoTheme.dimensions, shapes: Shapes = KepkoTheme.shapes, isSystemInDarkTheme: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit)
fun PersistentKepkoTheme(persistenceManager: PersistenceManager, dimensions: Dimensions = KepkoTheme.dimensions, shapes: Shapes = KepkoTheme.shapes, isSystemInDarkTheme: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit)

A KepkoTheme wrapper that automatically persists and restores theme preferences.

Link copied to clipboard
fun PersistentPreferenceThemeScreen(onBackClick: () -> Unit, modifier: Modifier = Modifier, isSystemInDarkTheme: Boolean = isSystemInDarkTheme())

A theme preferences screen which allows easy integration when used with PersistentKepkoTheme.

Link copied to clipboard
fun PreviewPersistentKepkoTheme(isSystemInDarkTheme: Boolean = false, configure: PreviewPersistenceManager.() -> Unit = {}, content: @Composable () -> Unit)

A PersistentKepkoTheme implementation for preview purposes.