Package com.google.accompanist.appcompattheme

Types

ThemeParameters
Link copied to clipboard
data class ThemeParameters(colors: Colors?, typography: Typography?)
This class contains some of the individual components of a MaterialTheme: Colors & Typography.

Functions

AppCompatTheme
Link copied to clipboard
fun AppCompatTheme(context: Context = LocalContext.current, readColors: Boolean = true, readTypography: Boolean = true, shapes: Shapes = MaterialTheme.shapes, content: @Composable() () -> Unit)
This function creates the components of a MaterialTheme, synthesizing a material theme from values in the context's Theme.AppCompat theme.
createAppCompatTheme
Link copied to clipboard
fun Context.createAppCompatTheme(readColors: Boolean = true, readTypography: Boolean = true): ThemeParameters
This function creates the components of a androidx.compose.material.MaterialTheme, reading the values from the Theme.AppCompat Android theme.