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 d064c4ded..b4112ea32 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 @@ -254,7 +253,7 @@ fun ListItem( Text( text = subtitle, color = MaterialTheme.colorScheme.secondary, - fontSize = 12.sp, + style = MaterialTheme.typography.bodySmall, maxLines = 1, overflow = TextOverflow.Ellipsis ) @@ -326,7 +325,7 @@ fun GridItem( title = { Text( text = title, - style = MaterialTheme.typography.bodyLarge, + style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Bold, maxLines = 2, overflow = TextOverflow.Ellipsis, @@ -341,7 +340,7 @@ fun GridItem( Text( text = subtitle, - style = MaterialTheme.typography.bodyMedium, + style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.secondary, maxLines = 2, overflow = TextOverflow.Ellipsis, @@ -1253,7 +1252,7 @@ fun YouTubeGridItem( title = { Text( text = item.title, - style = MaterialTheme.typography.bodyLarge, + style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Bold, maxLines = 2, overflow = TextOverflow.Ellipsis,