# RemoteMaterialTheme

## Functions summary

|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable @https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/layout/RemoteComposable https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme.composable#RemoteMaterialTheme(androidx.wear.compose.remote.material3.RemoteColorScheme,androidx.wear.compose.remote.material3.RemoteTypography,androidx.wear.compose.remote.material3.RemoteShapes,androidx.wear.compose.remote.material3.RemoteMotionScheme,kotlin.Function0)( colorScheme: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteColorScheme, typography: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTypography, shapes: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteShapes, motionScheme: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme, content: @https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/layout/RemoteComposable @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` Material Theming refers to the customization of your Material Design app to better reflect your product's brand. |

## Functions

### RemoteMaterialTheme

Artifact: [androidx.wear.compose.remote:remote-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/remote/material3/RemoteMaterialTheme.kt+function:RemoteMaterialTheme) Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
@Composable
@RemoteComposable
fun RemoteMaterialTheme(
    colorScheme: RemoteColorScheme = RemoteMaterialTheme.colorScheme,
    typography: RemoteTypography = RemoteMaterialTheme.typography,
    shapes: RemoteShapes = RemoteMaterialTheme.shapes,
    motionScheme: RemoteMotionScheme = RemoteMaterialTheme.motionScheme,
    content: @RemoteComposable @Composable () -> Unit
): Unit
```

Material Theming refers to the customization of your Material Design app to better reflect your product's brand.

Remote Material components such as `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteButton.composable#RemoteButton(androidx.compose.remote.creation.compose.action.RemoteAction,androidx.compose.remote.creation.compose.modifier.RemoteModifier,androidx.compose.remote.creation.compose.state.RemoteBoolean,androidx.compose.remote.creation.compose.shapes.RemoteShape,androidx.wear.compose.remote.material3.RemoteButtonColors,androidx.wear.compose.remote.material3.RemoteBorderStroke,androidx.compose.remote.creation.compose.layout.RemotePaddingValues,kotlin.Function1)` and `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteText.composable#RemoteText(androidx.compose.remote.creation.compose.state.RemoteString,androidx.compose.remote.creation.compose.modifier.RemoteModifier,androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteTextUnit,androidx.compose.ui.text.font.FontStyle,androidx.compose.ui.text.font.FontWeight,androidx.compose.remote.creation.compose.text.RemoteFontFamily,androidx.compose.ui.text.style.TextAlign,androidx.compose.ui.text.style.TextOverflow,kotlin.Int,androidx.compose.ui.text.font.FontVariation.Settings,androidx.compose.remote.creation.compose.text.RemoteTextStyle)` use values provided here when retrieving default values.

All values may be set by providing this component with the `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteColorScheme`, `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteShapes`, `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTypography` and `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme` attributes. Use this to configure the overall theme of elements within this `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme.composable#RemoteMaterialTheme(androidx.wear.compose.remote.material3.RemoteColorScheme,androidx.wear.compose.remote.material3.RemoteTypography,androidx.wear.compose.remote.material3.RemoteShapes,androidx.wear.compose.remote.material3.RemoteMotionScheme,kotlin.Function0)`.

Any values that are not set will inherit the current value from the theme, falling back to the defaults if there is no parent `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme.composable#RemoteMaterialTheme(androidx.wear.compose.remote.material3.RemoteColorScheme,androidx.wear.compose.remote.material3.RemoteTypography,androidx.wear.compose.remote.material3.RemoteShapes,androidx.wear.compose.remote.material3.RemoteMotionScheme,kotlin.Function0)`. This allows using a `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme.composable#RemoteMaterialTheme(androidx.wear.compose.remote.material3.RemoteColorScheme,androidx.wear.compose.remote.material3.RemoteTypography,androidx.wear.compose.remote.material3.RemoteShapes,androidx.wear.compose.remote.material3.RemoteMotionScheme,kotlin.Function0)` at the top of your application, and then separate `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme.composable#RemoteMaterialTheme(androidx.wear.compose.remote.material3.RemoteColorScheme,androidx.wear.compose.remote.material3.RemoteTypography,androidx.wear.compose.remote.material3.RemoteShapes,androidx.wear.compose.remote.material3.RemoteMotionScheme,kotlin.Function0)`s for different screens / parts of your UI, overriding only the parts of the theme definition that need to change.

| Parameters |
|---|---|
| `colorScheme: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteColorScheme = RemoteMaterialTheme.colorScheme` | A complete definition of the Material Color theme for this hierarchy |
| `typography: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTypography = RemoteMaterialTheme.typography` | A set of text styles to be used as this hierarchy's typography system |
| `shapes: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteShapes = RemoteMaterialTheme.shapes` | A set of shapes to be used as this hierarchy's shape system |
| `motionScheme: https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme = RemoteMaterialTheme.motionScheme` | A set of motion specs used to animate content for this hierarchy |
| `content: @https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/layout/RemoteComposable @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The content inheriting this theme |