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 { val containerColor = when {
currentSelection == set.set -> colorResource(id = R.color.selected) currentSelection == set.set -> colorResource(id = R.color.selected)
index % 2 == 0 -> colorResource(id = R.color.black) index % 2 == 0 -> colorResource(id = R.color.list_alternate)
else -> colorResource(id = R.color.purple_200) else -> colorResource(id = R.color.list)
} }
Card( Card(

View file

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