Skip to content

Commit

Permalink
Fix mark as read and posts filter button colors in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Aug 7, 2024
1 parent 3aee4ea commit 433cb08
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private fun MarkPostsAsReadButton(
val transition = updateTransition(enabled, "button_enable_state")
val backgroundColor by
transition.animateColor {
if (it) Color.White.copy(alpha = 0.12f) else Color.White.copy(alpha = 0f)
if (it) AppTheme.colorScheme.textEmphasisHigh.copy(alpha = 0.12f) else Color.Transparent
}
val contentColor by
transition.animateColor {
Expand Down Expand Up @@ -285,7 +285,7 @@ private fun PostsFilterButton(
modifier
.clip(RoundedCornerShape(8.dp))
.clickable(onClick = { showPostsTypeDropDown = true })
.background(color = Color.White.copy(alpha = 0.12f))
.background(color = AppTheme.colorScheme.textEmphasisHigh.copy(alpha = 0.12f))
.padding(vertical = 4.dp)
.padding(start = 8.dp, end = 12.dp),
horizontalArrangement = Arrangement.spacedBy(8.dp),
Expand Down

0 comments on commit 433cb08

Please sign in to comment.