Skip to content

Commit 411999f

Browse files
committed
fix: [SuperDropdown] Shadow color
1 parent 7a52f0a commit 411999f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra/SuperDropdown.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ fun SuperDropdown(
259259
.graphicsLayer(
260260
shadowElevation = 40f,
261261
shape = SmoothRoundedCornerShape(16.dp),
262-
ambientShadowColor = MiuixTheme.colorScheme.onBackground.copy(alpha = 0.2f),
263-
spotShadowColor = MiuixTheme.colorScheme.onBackground.copy(alpha = 0.6f)
262+
ambientShadowColor = Color.Black.copy(alpha = 0.2f),
263+
spotShadowColor = Color.Black.copy(alpha = 0.6f)
264264
)
265265
.clip(SmoothRoundedCornerShape(16.dp))
266266
.background(MiuixTheme.colorScheme.surface)

0 commit comments

Comments
 (0)