diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt index 0f57007..f440ff7 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt @@ -52,7 +52,7 @@ fun NavigationMenuItem( .let { if (userAccount != null && filterService.isSelected(userAccount, transactionsFilter) || bankAccount != null && filterService.isSelected(bankAccount, transactionsFilter)) { - it.background(Colors.Accent, shape = RoundedCornerShape(4.dp)) + it.background(Colors.AccentAsSelectionBackground, shape = RoundedCornerShape(4.dp)) } else { it } diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/config/Colors.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/config/Colors.kt index 58411dd..7d41f4b 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/config/Colors.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/config/Colors.kt @@ -11,6 +11,8 @@ object Colors { val Accent = Color("#00786a") + val AccentAsSelectionBackground = Accent.copy(alpha = 0.15f) + val PrimaryTextColorDark = Color("#BABABA") val PrimaryTextColorLight = Color("#000000")