KmpTheme

fun KmpTheme(mode: ThemeMode = ThemeMode.SYSTEM, tokens: ThemeTokens = KommonDesignTokens.default, content: @Composable () -> Unit)

Applies tokens as a Material 3 theme plus the kommon-only values that Material has no slot for (kmpSpacing, kmpColors, kmpMotion, kmpTypography).

Material color roles that kommon does not define are derived from the nearest kommon role, so the Material baseline palette never leaks into rendered components. See TokenAdapters.kt. Material outline roles derive from kommon's outline token for enabled control boundaries. Custom tokens must preserve at least 3:1 outline contrast against page and card surfaces.