Skip to content

Commit

Permalink
MONEYMONG-508 feat: MDSButton corner radius, Icon Size, TextStyle 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jhg3410 committed Sep 22, 2024
1 parent 772a490 commit 3f32d8a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import androidx.compose.ui.draw.clip
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import com.moneymong.moneymong.design_system.theme.Body3
import com.moneymong.moneymong.design_system.theme.Body2

@Composable
fun MDSButton(
Expand All @@ -38,10 +38,10 @@ fun MDSButton(
modifier = modifier
.background(
color = backgroundColor,
shape = RoundedCornerShape(12.dp)
shape = RoundedCornerShape(10.dp)
)
.clip(
RoundedCornerShape(12.dp)
RoundedCornerShape(10.dp)
)
.clickable(
onClick = onClick,
Expand All @@ -58,7 +58,7 @@ fun MDSButton(
) {
if (iconResource != null) {
Icon(
modifier = Modifier.size(20.dp),
modifier = Modifier.size(18.dp),
painter = painterResource(id = iconResource),
contentDescription = "Button icon",
tint = contentColor
Expand All @@ -67,7 +67,7 @@ fun MDSButton(
Text(
text = text,
color = contentColor,
style = Body3,
style = Body2,
)
}
}
Expand Down

0 comments on commit 3f32d8a

Please sign in to comment.