Skip to content

Commit d747618

Browse files
committed
chore(bill/cash): fix coloring of lines, logos and mint
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 7288e09 commit d747618

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • app/src/main/java/com/getcode/view/main/bill

app/src/main/java/com/getcode/view/main/bill/CashBill.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ object CashBillDefaults {
7878
const val CodeBackgroundOpacity = 0.65f
7979

8080
const val SecurityStripCount = 3
81+
82+
val DecorColor: Color = Color(0xFFA9A9B1)
8183
}
8284

8385
object CashBillAssets {
@@ -319,7 +321,7 @@ internal fun CashBill(
319321
Text(
320322
text = kinMint.base58(),
321323
fontSize = 8.nonScaledSp,
322-
color = CodeTheme.colors.onBackground.copy(alpha = 0.60f)
324+
color = CashBillDefaults.DecorColor,
323325
)
324326
}
325327

@@ -336,7 +338,7 @@ internal fun CashBill(
336338
painter = painterResource(
337339
R.drawable.ic_code_logo_offwhite_small
338340
),
339-
colorFilter = ColorFilter.tint(CodeTheme.colors.onBackground),
341+
colorFilter = ColorFilter.tint(CashBillDefaults.DecorColor),
340342
contentDescription = "",
341343
)
342344
Spacer(modifier = Modifier.weight(1f))
@@ -397,7 +399,7 @@ private fun Lines(
397399
Box(
398400
modifier = Modifier
399401
.rotate(-18f)
400-
.background(White50)
402+
.background(CashBillDefaults.DecorColor)
401403
.fillMaxHeight()
402404
.width(1.dp)
403405
)

0 commit comments

Comments
 (0)