diff --git a/app/src/main/java/app/closer/ui/questions/QuestionPackLibraryScreen.kt b/app/src/main/java/app/closer/ui/questions/QuestionPackLibraryScreen.kt index 569baef9..4ce2ada3 100644 --- a/app/src/main/java/app/closer/ui/questions/QuestionPackLibraryScreen.kt +++ b/app/src/main/java/app/closer/ui/questions/QuestionPackLibraryScreen.kt @@ -46,6 +46,7 @@ import androidx.compose.ui.graphics.Brush import androidx.compose.ui.graphics.Color import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.res.painterResource +import app.closer.ui.components.BrandIllustration import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.tooling.preview.Preview @@ -219,11 +220,14 @@ private fun QuestionPackCard( .height(94.dp) .clip(RoundedCornerShape(topStart = 22.dp, topEnd = 22.dp)) ) { - Image( - painter = painterResource(packArtworkRes(item.category.id)), + // C-DARKART-002: route through BrandIllustration so the -night variant follows the IN-APP + // theme (not system uiMode). tile=false keeps the full-bleed banner crop (no edge feather). + BrandIllustration( + res = packArtworkRes(item.category.id), contentDescription = null, - contentScale = ContentScale.Crop, - modifier = Modifier.fillMaxSize() + modifier = Modifier.fillMaxSize(), + tile = false, + contentScale = ContentScale.Crop ) Box( modifier = Modifier