PaletteonThemedSurface
fun PaletteonThemedSurface(modifier: Modifier = Modifier, shape: Shape = RectangleShape, color: Color = MaterialTheme.colorScheme.surface, contentColor: Color = contentColorFor(color), tonalElevation: Dp = 0.dp, shadowElevation: Dp = 0.dp, border: BorderStroke? = null, content: @Composable () -> Unit)
Applies the theme and configures the Surface component according to the provided parameters.
Parameters
shape
The shape of the Surface.
color
The background color of the Surface.
contentColor
The content color to be used on the Surface.
tonalElevation
The tonal elevation of the Surface.
shadowElevation
The shadow elevation of the Surface.
border
The border of the Surface.
content
The content to be placed inside the Surface.