better colors

This commit is contained in:
Mylloon 2024-01-03 20:41:03 +01:00
parent 2b19201775
commit 2cb5712617
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 6 additions and 4 deletions

View file

@ -313,8 +313,8 @@ fun ListItem(
) {
val containerColor = when {
currentSelection == set.set -> colorResource(id = R.color.selected)
index % 2 == 0 -> colorResource(id = R.color.black)
else -> colorResource(id = R.color.purple_200)
index % 2 == 0 -> colorResource(id = R.color.list_alternate)
else -> colorResource(id = R.color.list)
}
Card(

View file

@ -8,5 +8,7 @@
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="red">#FFFF0000</color>
<color name="selected">#FF6200EE</color>
</resources>
<color name="selected">#CC9CDD</color>
<color name="list">#FDF6E3</color>
<color name="list_alternate">#E0E0E4</color>
</resources>