better colors
This commit is contained in:
parent
2b19201775
commit
2cb5712617
2 changed files with 6 additions and 4 deletions
|
@ -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(
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue