From 8e50fcf8fbf32f77d3cb96dc06e284d235179bf5 Mon Sep 17 00:00:00 2001 From: atsunatsu Date: Sun, 2 Aug 2026 19:58:00 +0800 Subject: [PATCH] style: use primary color for satellite name (same as former number) Use MaterialTheme.colorScheme.primary for satellite name text in all three lists (Components, SatellitesScreen, PassesScreen), matching the color that was previously used for the catalog number. --- .../java/com/rtbishop/look4sat/core/presentation/Components.kt | 1 + .../java/com/rtbishop/look4sat/feature/passes/PassesScreen.kt | 2 +- .../rtbishop/look4sat/feature/satellites/SatellitesScreen.kt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/presentation/src/main/java/com/rtbishop/look4sat/core/presentation/Components.kt b/core/presentation/src/main/java/com/rtbishop/look4sat/core/presentation/Components.kt index d551aeab..c299889e 100644 --- a/core/presentation/src/main/java/com/rtbishop/look4sat/core/presentation/Components.kt +++ b/core/presentation/src/main/java/com/rtbishop/look4sat/core/presentation/Components.kt @@ -163,6 +163,7 @@ fun RowScope.NextPassRow(pass: OrbitalPass, modifier: Modifier = Modifier, isUtc .weight(1f) .padding(end = 6.dp) .infiniteMarquee(), + color = MaterialTheme.colorScheme.primary, fontWeight = FontWeight.Medium, maxLines = 1, overflow = TextOverflow.Ellipsis diff --git a/feature/passes/src/main/java/com/rtbishop/look4sat/feature/passes/PassesScreen.kt b/feature/passes/src/main/java/com/rtbishop/look4sat/feature/passes/PassesScreen.kt index 6c53ffa4..82a5bdc3 100644 --- a/feature/passes/src/main/java/com/rtbishop/look4sat/feature/passes/PassesScreen.kt +++ b/feature/passes/src/main/java/com/rtbishop/look4sat/feature/passes/PassesScreen.kt @@ -350,7 +350,7 @@ private fun PassItem( fontWeight = FontWeight.Medium, maxLines = 1, overflow = TextOverflow.Ellipsis, - color = MaterialTheme.colorScheme.onSurface + color = MaterialTheme.colorScheme.primary ) val elevColor = elevationColor(pass.maxElevation) Icon( diff --git a/feature/satellites/src/main/java/com/rtbishop/look4sat/feature/satellites/SatellitesScreen.kt b/feature/satellites/src/main/java/com/rtbishop/look4sat/feature/satellites/SatellitesScreen.kt index ba0b19e3..d9acf6ed 100644 --- a/feature/satellites/src/main/java/com/rtbishop/look4sat/feature/satellites/SatellitesScreen.kt +++ b/feature/satellites/src/main/java/com/rtbishop/look4sat/feature/satellites/SatellitesScreen.kt @@ -295,7 +295,7 @@ private fun Satellite( fontWeight = FontWeight.Medium, maxLines = 1, overflow = TextOverflow.Ellipsis, - color = MaterialTheme.colorScheme.onSurface + color = MaterialTheme.colorScheme.primary ) Checkbox( checked = item.isSelected,