We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0a5eb commit d78a19fCopy full SHA for d78a19f
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/theme/MiuixTheme.kt
@@ -31,10 +31,13 @@ fun MiuixTheme(
31
paragraph = textStyles.paragraph.copy(color = colorScheme.onBackground)
32
)
33
}
34
+ val miuixRipple = remember(colorScheme.onBackground) {
35
+ ripple(color = colorScheme.onBackground.copy(alpha = 0.5f))
36
+ }
37
CompositionLocalProvider(
38
LocalMiuixColor provides colorScheme,
39
LocalMiuixTextStyles provides miuixTextStyles,
- LocalIndication provides ripple(),
40
+ LocalIndication provides miuixRipple,
41
) {
42
content()
43
0 commit comments