mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Remove ElementColors. We should use semantics and material colors now.
This commit is contained in:
committed by
Benoit Marty
parent
bcb64f7d44
commit
e2f3f2966b
+1
-1
@@ -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),
|
||||
|
||||
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user