MaterialTheme
Composable Component
Material Theming refers to the customization of your Material Design app to better reflect your product’s brand.
Android
@Composable
fun MaterialTheme(
colorScheme: ColorScheme = MaterialTheme.colorScheme,
shapes: Shapes = MaterialTheme.shapes,
typography: Typography = MaterialTheme.typography,
content: @Composable () -> Unit
)
Parameters
colorScheme | A complete definition of the Material Color theme for this hierarchy |
shapes | A set of corner shapes to be used as this hierarchy's shape system |
typography | A set of text styles to be used as this hierarchy's typography system |
content | The composable content that will be displayed with this theme |
Create your own Component Library
Material Components are meant to be used as is and they do not allow customizations. To build your own Jetpack Compose component library use Compose Unstyled