Remove ElementColors. We should use semantics and material colors now.

This commit is contained in:
Benoit Marty 2023-07-10 15:22:54 +02:00 committed by Benoit Marty
parent bcb64f7d44
commit e2f3f2966b
9 changed files with 29 additions and 146 deletions

View file

@ -162,7 +162,7 @@ private fun AnalyticsOptInContentRow(
modifier = modifier
.fillMaxWidth()
.background(
color = ElementTheme.legacyColors.quinary,
color = ElementTheme.materialColors.surfaceVariant,
shape = bgShape,
)
.padding(vertical = 12.dp, horizontal = 20.dp),

View file

@ -393,7 +393,7 @@ private fun MessageEventBubbleContent(
onLongClick = ::onTimestampLongClick,
modifier = timestampModifier
.padding(horizontal = 4.dp, vertical = 4.dp) // Outer padding
.background(ElementTheme.legacyColors.gray300, RoundedCornerShape(10.0.dp))
.background(ElementTheme.colors.bgSubtleSecondary, RoundedCornerShape(10.0.dp))
.align(Alignment.BottomEnd)
.padding(horizontal = 4.dp, vertical = 2.dp) // Inner padding
)