diff --git a/app/src/main/java/de/jeanlucmakiola/calendula/ui/month/MonthScreen.kt b/app/src/main/java/de/jeanlucmakiola/calendula/ui/month/MonthScreen.kt index c4b5505..d6e4c25 100644 --- a/app/src/main/java/de/jeanlucmakiola/calendula/ui/month/MonthScreen.kt +++ b/app/src/main/java/de/jeanlucmakiola/calendula/ui/month/MonthScreen.kt @@ -930,8 +930,10 @@ private fun SplitDayCell( onClick: () -> Unit, modifier: Modifier = Modifier, ) { + // Selection is the outline's job alone. Tinting the fill as well lightened + // the whole cell, which read as a second state on top of the day rather than + // as a mark on it — and fought today's own circle when they coincided. val background = when { - isSelected -> MaterialTheme.colorScheme.primaryContainer inMonth -> MaterialTheme.colorScheme.surfaceContainer else -> MaterialTheme.colorScheme.surfaceContainerLow }