API reference

UiSetTheme Composable

Provides the complete UISet design foundation to content.
Leave all defaults unchanged for the standard Meta VR appearance. Copy one foundation value for focused customization, provide a complete interface implementation for a replacement system, or nest this composable to override a foundation group for one subtree.

Signature

@Composable
fun UiSetTheme(
    colorScheme: ColorScheme = UiSetTheme.colorScheme,
    typography: Typography = UiSetTheme.typography,
    shapes: Shapes = UiSetTheme.shapes,
    dimensions: Dimensions = UiSetTheme.dimensions,
    indications: UiSetIndicationConfig = UiSetIndicationDefaults.rememberConfig(colorScheme),
    content: @Composable () -> Unit,
)

Parameters

colorScheme: ColorScheme semantic container, content, status, interaction, and progress colors
typography: Typography semantic text styles
shapes: Shapes component shape roles
dimensions: Dimensions density-aware component geometry and spacing
indications: UiSetIndicationConfig split and joint press, hover, and focus policies for interactive components
content: @Composable () -> Unit themed content