File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import androidx.compose.runtime.rememberUpdatedState
2424import androidx.compose.runtime.setValue
2525import androidx.compose.ui.AbsoluteAlignment
2626import androidx.compose.ui.Modifier
27- import androidx.compose.ui.graphics.Color
2827import androidx.compose.ui.graphics.TransformOrigin
2928import androidx.compose.ui.graphics.graphicsLayer
3029import androidx.compose.ui.input.pointer.pointerInput
@@ -185,8 +184,8 @@ fun ListPopup(
185184 clip = true ,
186185 shape = SmoothRoundedCornerShape (16 .dp),
187186 shadowElevation = dropdownElevation,
188- ambientShadowColor = Color . Black .copy(alpha = 0.3f ) ,
189- spotShadowColor = Color . Black .copy(alpha = 0.3f )
187+ ambientShadowColor = MiuixTheme .colorScheme.windowDimming ,
188+ spotShadowColor = MiuixTheme .colorScheme.windowDimming
190189 )
191190 .background(MiuixTheme .colorScheme.surface)
192191 ) {
You can’t perform that action at this time.
0 commit comments