File tree Expand file tree Collapse file tree 4 files changed +28
-4
lines changed
detail/src/main/kotlin/com/ninecraft/booket/feature/detail/record/component
library/src/main/kotlin/com/ninecraft/booket/feature/library/component
search/src/main/kotlin/com/ninecraft/booket/feature/search Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 11package com.ninecraft.booket.feature.detail.record.component
22
3+ import androidx.compose.foundation.border
34import androidx.compose.foundation.layout.BoxWithConstraints
45import androidx.compose.foundation.layout.Column
56import androidx.compose.foundation.layout.Row
@@ -48,7 +49,12 @@ internal fun BookItem(
4849 .padding(end = ReedTheme .spacing.spacing4)
4950 .width(46 .dp)
5051 .height(68 .dp)
51- .clip(RoundedCornerShape (size = ReedTheme .radius.xs)),
52+ .clip(RoundedCornerShape (size = ReedTheme .radius.xs))
53+ .border(
54+ width = 1 .dp,
55+ color = ReedTheme .colors.borderPrimary,
56+ shape = RoundedCornerShape (ReedTheme .radius.xs),
57+ ),
5258 placeholder = painterResource(R .drawable.ic_placeholder),
5359 )
5460 Column (modifier = Modifier .weight(1f )) {
Original file line number Diff line number Diff line change 11package com.ninecraft.booket.feature.library.component
22
3+ import androidx.compose.foundation.border
34import androidx.compose.foundation.layout.BoxWithConstraints
45import androidx.compose.foundation.layout.Column
56import androidx.compose.foundation.layout.Row
@@ -52,7 +53,12 @@ fun LibraryBookItem(
5253 )
5354 .width(68 .dp)
5455 .height(100 .dp)
55- .clip(RoundedCornerShape (size = ReedTheme .radius.sm)),
56+ .clip(RoundedCornerShape (size = ReedTheme .radius.sm))
57+ .border(
58+ width = 1 .dp,
59+ color = ReedTheme .colors.borderPrimary,
60+ shape = RoundedCornerShape (ReedTheme .radius.sm),
61+ ),
5662 placeholder = painterResource(designR.drawable.ic_placeholder),
5763 )
5864 Column (modifier = Modifier .weight(1f )) {
Original file line number Diff line number Diff line change 11package com.ninecraft.booket.feature.search.book.component
22
33import androidx.compose.foundation.background
4+ import androidx.compose.foundation.border
45import androidx.compose.foundation.clickable
56import androidx.compose.foundation.layout.Box
67import androidx.compose.foundation.layout.BoxWithConstraints
@@ -65,7 +66,12 @@ fun BookItem(
6566 )
6667 .width(68 .dp)
6768 .height(100 .dp)
68- .clip(RoundedCornerShape (size = ReedTheme .radius.sm)),
69+ .clip(RoundedCornerShape (size = ReedTheme .radius.sm))
70+ .border(
71+ width = 1 .dp,
72+ color = ReedTheme .colors.borderPrimary,
73+ shape = RoundedCornerShape (ReedTheme .radius.sm),
74+ ),
6975 ) {
7076 NetworkImage (
7177 imageUrl = book.coverImageUrl,
Original file line number Diff line number Diff line change 11package com.ninecraft.booket.feature.search.library.component
22
3+ import androidx.compose.foundation.border
34import androidx.compose.foundation.layout.BoxWithConstraints
45import androidx.compose.foundation.layout.Column
56import androidx.compose.foundation.layout.Row
@@ -52,7 +53,12 @@ fun LibraryBookItem(
5253 )
5354 .width(68 .dp)
5455 .height(100 .dp)
55- .clip(RoundedCornerShape (size = ReedTheme .radius.sm)),
56+ .clip(RoundedCornerShape (size = ReedTheme .radius.sm))
57+ .border(
58+ width = 1 .dp,
59+ color = ReedTheme .colors.borderPrimary,
60+ shape = RoundedCornerShape (ReedTheme .radius.sm),
61+ ),
5662 placeholder = painterResource(designR.drawable.ic_placeholder),
5763 )
5864 Column (modifier = Modifier .weight(1f )) {
You can’t perform that action at this time.
0 commit comments