Skip to content

Commit

Permalink
[REFACTOR] 코리반영
Browse files Browse the repository at this point in the history
  • Loading branch information
twogarlic committed Jan 23, 2025
1 parent 35b8cce commit 6fb3dea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.dimensionResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import com.sopt.core.R

@Composable
fun NoostakCalendarChip(
Expand All @@ -32,12 +35,12 @@ fun NoostakCalendarChip(
modifier = Modifier
.background(
color = backgroundColor,
shape = RoundedCornerShape(20.dp)
shape = RoundedCornerShape(dimensionResource(id = R.dimen.calendar_chip_corner_padding))
)
.border(
width = 1.dp,
color = borderColor,
shape = RoundedCornerShape(20.dp)
shape = RoundedCornerShape(dimensionResource(id = R.dimen.calendar_chip_corner_padding))
)
.defaultMinSize(minWidth = 39.dp)
.padding(horizontal = horizontalPaddingValues, vertical = verticalPaddingValues)
Expand Down
1 change: 1 addition & 0 deletions core/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<dimen name="user_chip_vertical_padding">6dp</dimen>
<dimen name="category_chip_horizontal_padding">15dp</dimen>
<dimen name="category_chip_vertical_padding">6dp</dimen>
<dimen name="calendar_chip_corner_padding">20dp</dimen>

<dimen name="fab_radius">30dp</dimen>
<dimen name="fab_shadow">4dp</dimen>
Expand Down

0 comments on commit 6fb3dea

Please sign in to comment.