Skip to content

Commit 466c895

Browse files
committed
Refactor HomeFilterChips and update selected category text color
- Removed unused `isDarkTheme` parameter from `HomeCategoryItem` and its usage within `HomeFilterChips`. - Updated the selected category text color to use `MaterialTheme.colorScheme.onSurface` instead of `onPrimaryContainer` for better visual consistency.
1 parent d036496 commit 466c895

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/BottomNavigation.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,9 @@ private fun LiquidGlassTabItem(
385385
lineHeight = 12.sp
386386
),
387387
color = if (isSelected) {
388-
MaterialTheme.colorScheme.onPrimaryContainer
389-
} else {
390388
MaterialTheme.colorScheme.onSurface
389+
} else {
390+
MaterialTheme.colorScheme.onSurface.copy(alpha = .7f)
391391
},
392392
maxLines = 1
393393
)

0 commit comments

Comments
 (0)