From 2cb5712617d60366d6b89d163510e019814e6f22 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 Jan 2024 20:41:03 +0100 Subject: [PATCH] better colors --- .../diamantkennel/memorisationapplication/HomeScreen.kt | 4 ++-- app/src/main/res/values/colors.xml | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/fr/uparis/diamantkennel/memorisationapplication/HomeScreen.kt b/app/src/main/java/fr/uparis/diamantkennel/memorisationapplication/HomeScreen.kt index fe46711..b5793d6 100644 --- a/app/src/main/java/fr/uparis/diamantkennel/memorisationapplication/HomeScreen.kt +++ b/app/src/main/java/fr/uparis/diamantkennel/memorisationapplication/HomeScreen.kt @@ -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( diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index f9c1fef..bb4937f 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -8,5 +8,7 @@ #FF000000 #FFFFFFFF #FFFF0000 - #FF6200EE - \ No newline at end of file + #CC9CDD + #FDF6E3 + #E0E0E4 +