From 7f9c31a89e33b3b01cc2d3ed85ac4d4c03931ff9 Mon Sep 17 00:00:00 2001 From: Hyobeen-Park Date: Thu, 11 Jul 2024 06:53:00 +0900 Subject: [PATCH] =?UTF-8?q?[MOD/#12]=20=EA=B7=B8=EB=A6=BC=EC=9E=90=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/component/HomeTodayEmptyIntern.kt | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/feature/src/main/java/com/terning/feature/home/component/HomeTodayEmptyIntern.kt b/feature/src/main/java/com/terning/feature/home/component/HomeTodayEmptyIntern.kt index b93d1fc39..1a60cdeee 100644 --- a/feature/src/main/java/com/terning/feature/home/component/HomeTodayEmptyIntern.kt +++ b/feature/src/main/java/com/terning/feature/home/component/HomeTodayEmptyIntern.kt @@ -1,6 +1,7 @@ package com.terning.feature.home.component import androidx.compose.foundation.BorderStroke +import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth @@ -17,10 +18,12 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import com.terning.core.designsystem.theme.Grey150 +import com.terning.core.designsystem.theme.Grey200 import com.terning.core.designsystem.theme.Grey400 import com.terning.core.designsystem.theme.Grey500 import com.terning.core.designsystem.theme.TerningTheme import com.terning.core.designsystem.theme.White +import com.terning.core.extension.customShadow import com.terning.feature.R @Composable @@ -28,19 +31,20 @@ fun HomeTodayEmptyIntern( isButtonExist: Boolean, modifier: Modifier = Modifier, ) { - Card( + Column( modifier = modifier .fillMaxWidth() .padding(top = 19.dp) - .padding(horizontal = 24.dp), - elevation = CardDefaults.cardElevation( - defaultElevation = 4.dp, - ), - border = BorderStroke( - 1.dp, - Grey150, - ), - colors = CardDefaults.cardColors(White), + .padding(horizontal = 24.dp) + .customShadow( + color = Grey200, + shadowRadius = 5.dp, + shadowWidth = 2.dp + ) + .background( + color = White, + shape = RoundedCornerShape(5.dp) + ) ) { if (isButtonExist) { Column(