From dd89d073480a8e72555a6b1691b65b880f4c692d Mon Sep 17 00:00:00 2001 From: ismai117 <88812838+ismai117@users.noreply.github.com> Date: Tue, 26 Mar 2024 18:12:24 +0000 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82fd373..a9439ee 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,9 @@ val animationState by animateKottieCompositionAsState( MaterialTheme { Column( - modifier = modifier.fillMaxSize(), + modifier = modifier + .fillMaxSize() + .background(MaterialTheme.colorScheme.onSurfaceVariant), horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.Center ) { @@ -142,8 +144,8 @@ MaterialTheme { KottieAnimation( composition = composition, progress = { animationState.progress }, - modifier = modifier - .size(300.dp) + modifier = modifier.size(300.dp), + backgroundColor = MaterialTheme.colorScheme.onSurfaceVariant ) Button(