Use color from Semantics.

This commit is contained in:
Benoit Marty 2025-07-07 15:13:24 +02:00
parent 66c419dfa3
commit d1e04d510f
2 changed files with 2 additions and 20 deletions

View file

@ -70,9 +70,9 @@ class MentionSpanTheme(val currentUserId: UserId) {
@Composable
fun updateStyles() {
currentUserTextColor = ElementTheme.colors.currentUserMentionPillText.toArgb()
currentUserBackgroundColor = ElementTheme.colors.currentUserMentionPillBackground.toArgb()
currentUserBackgroundColor = ElementTheme.colors.bgBadgeAccent.toArgb()
otherTextColor = ElementTheme.colors.mentionPillText.toArgb()
otherBackgroundColor = ElementTheme.colors.mentionPillBackground.toArgb()
otherBackgroundColor = ElementTheme.colors.bgBadgeDefault.toArgb()
typeface.value = ElementTheme.typography.fontBodyLgMedium.rememberTypeface().value
val density = LocalDensity.current