diff --git a/app/src/main/java/com/dd3boh/outertune/ui/component/Items.kt b/app/src/main/java/com/dd3boh/outertune/ui/component/Items.kt index fe073c5ba..17ca7811b 100644 --- a/app/src/main/java/com/dd3boh/outertune/ui/component/Items.kt +++ b/app/src/main/java/com/dd3boh/outertune/ui/component/Items.kt @@ -79,7 +79,6 @@ import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp -import androidx.compose.ui.unit.sp import androidx.compose.ui.util.fastForEachIndexed import androidx.media3.exoplayer.offline.Download import androidx.media3.exoplayer.offline.Download.STATE_COMPLETED @@ -210,7 +209,7 @@ inline fun ListItem( ) { Text( text = title, - fontSize = 14.sp, + style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Bold, maxLines = 1, overflow = TextOverflow.Ellipsis @@ -255,7 +254,7 @@ fun ListItem( Text( text = subtitle, color = MaterialTheme.colorScheme.secondary, - fontSize = 12.sp, + style = MaterialTheme.typography.bodySmall, maxLines = 1, overflow = TextOverflow.Ellipsis ) @@ -327,7 +326,7 @@ fun GridItem( title = { Text( text = title, - style = MaterialTheme.typography.bodyLarge, + style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Bold, maxLines = 2, overflow = TextOverflow.Ellipsis, @@ -342,7 +341,7 @@ fun GridItem( Text( text = subtitle, - style = MaterialTheme.typography.bodyMedium, + style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.secondary, maxLines = 2, overflow = TextOverflow.Ellipsis, @@ -1250,7 +1249,7 @@ fun YouTubeGridItem( title = { Text( text = item.title, - style = MaterialTheme.typography.bodyLarge, + style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Bold, maxLines = 2, overflow = TextOverflow.Ellipsis,