@Composable fun MyAppTheme( content: @Composable () -> Unit ) { // normal Material 3 theme setup, determine light or dark by whatever means val colors = if (isSystemInDarkTheme()) DarkThemeColors else LightThemeColors MaterialBridgeTheme( colorScheme = colors, typography = MyTypography, content = content ) }