Skip to content

Commit 16cddb4

Browse files
committed
[BOOK-264] fix: 내서재 화면 디테일 수정
1 parent 86c3e38 commit 16cddb4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

feature/library/src/main/kotlin/com/ninecraft/booket/feature/library/LibraryUi.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ internal fun LibraryContent(
9797
state.eventSink(LibraryUiEvent.OnFilterClick(status))
9898
},
9999
)
100+
Spacer(modifier = Modifier.height(ReedTheme.spacing.spacing1))
100101

101102
when (state.uiState) {
102103
is UiState.Idle -> {

feature/library/src/main/kotlin/com/ninecraft/booket/feature/library/component/FilterChip.kt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ fun FilterChip(
3030
modifier: Modifier = Modifier,
3131
) {
3232
val chipColor = if (isSelected) ReedTheme.colors.bgPrimary else ReedTheme.colors.basePrimary
33-
val textColor = if (isSelected) White else ReedTheme.colors.contentSecondary
33+
val labelColor = if (isSelected) White else ReedTheme.colors.contentSecondary
34+
val countColor = if (isSelected) White else ReedTheme.colors.contentTertiary
35+
val labelStyle = if (isSelected) ReedTheme.typography.label1SemiBold else ReedTheme.typography.label1Medium
3436

3537
Box(
3638
modifier = modifier
@@ -59,13 +61,13 @@ fun FilterChip(
5961
Row(verticalAlignment = Alignment.CenterVertically) {
6062
Text(
6163
text = stringResource(option.getDisplayNameRes()),
62-
color = textColor,
63-
style = ReedTheme.typography.label1SemiBold,
64+
color = labelColor,
65+
style = labelStyle,
6466
)
6567
Spacer(modifier = Modifier.width(ReedTheme.spacing.spacing1))
6668
Text(
6769
text = "$count",
68-
color = textColor,
70+
color = countColor,
6971
style = ReedTheme.typography.label1SemiBold,
7072
)
7173
}

0 commit comments

Comments
 (0)