From fae1ff315cb4430acbf9fa713ff78d0353742830 Mon Sep 17 00:00:00 2001 From: Thomas Horta Date: Fri, 24 May 2024 22:22:54 -0300 Subject: [PATCH] Use Body Small style for Announcement card descriptions It uses 12sp instead of the 11sp used by the footnote style, making it more readable. --- .../android/ui/reader/views/compose/ReaderAnnouncementCard.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/ReaderAnnouncementCard.kt b/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/ReaderAnnouncementCard.kt index b531c6bd1ce0..09205c6042ea 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/ReaderAnnouncementCard.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/ReaderAnnouncementCard.kt @@ -25,7 +25,6 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import org.wordpress.android.R -import org.wordpress.android.designsystem.footnote import org.wordpress.android.ui.compose.theme.AppColor import org.wordpress.android.ui.compose.theme.AppTheme import org.wordpress.android.ui.compose.unit.Margin @@ -122,7 +121,7 @@ private fun ReaderAnnouncementCardItem(data: ReaderAnnouncementCardItemData) { start = Margin.Large.value, ), text = stringResource(data.descriptionRes), - style = MaterialTheme.typography.footnote, + style = MaterialTheme.typography.bodySmall, color = secondaryElementColor, ) }