Made selection background more transparent
This commit is contained in:
parent
e41edd392a
commit
15177ed2ef
|
@ -52,7 +52,7 @@ fun NavigationMenuItem(
|
||||||
.let {
|
.let {
|
||||||
if (userAccount != null && filterService.isSelected(userAccount, transactionsFilter)
|
if (userAccount != null && filterService.isSelected(userAccount, transactionsFilter)
|
||||||
|| bankAccount != null && filterService.isSelected(bankAccount, transactionsFilter)) {
|
|| bankAccount != null && filterService.isSelected(bankAccount, transactionsFilter)) {
|
||||||
it.background(Colors.Accent, shape = RoundedCornerShape(4.dp))
|
it.background(Colors.AccentAsSelectionBackground, shape = RoundedCornerShape(4.dp))
|
||||||
} else {
|
} else {
|
||||||
it
|
it
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,8 @@ object Colors {
|
||||||
|
|
||||||
val Accent = Color("#00786a")
|
val Accent = Color("#00786a")
|
||||||
|
|
||||||
|
val AccentAsSelectionBackground = Accent.copy(alpha = 0.15f)
|
||||||
|
|
||||||
val PrimaryTextColorDark = Color("#BABABA")
|
val PrimaryTextColorDark = Color("#BABABA")
|
||||||
|
|
||||||
val PrimaryTextColorLight = Color("#000000")
|
val PrimaryTextColorLight = Color("#000000")
|
||||||
|
|
Loading…
Reference in New Issue