Made selection background more transparent

This commit is contained in:
dankito 2024-08-29 18:29:05 +02:00
parent e41edd392a
commit 15177ed2ef
2 changed files with 3 additions and 1 deletions

View File

@ -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
}

View File

@ -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")