refactor: update IconButton colors in the top bars for improved UI consistency

This commit is contained in:
2026-05-01 11:44:14 +02:00
parent 56c4991467
commit 93070ba23f
2 changed files with 15 additions and 12 deletions

View File

@@ -38,10 +38,11 @@ fun HomeTopBar(
IconButton( IconButton(
onClick = onSearchClick, onClick = onSearchClick,
colors = IconButtonColors( colors = IconButtonColors(
containerColor = scheme.secondary, containerColor = scheme.surface,
contentColor = scheme.onSecondary, contentColor = scheme.onSurface,
disabledContainerColor = scheme.secondary, disabledContainerColor = scheme.surface,
disabledContentColor = scheme.onSecondary), disabledContentColor = scheme.onSurface
),
modifier = Modifier.size(50.dp), modifier = Modifier.size(50.dp),
) { ) {
Icon( Icon(
@@ -54,10 +55,11 @@ fun HomeTopBar(
IconButton( IconButton(
onClick = { isProfileMenuExpanded = true }, onClick = { isProfileMenuExpanded = true },
colors = IconButtonColors( colors = IconButtonColors(
containerColor = scheme.secondary, containerColor = scheme.surface,
contentColor = scheme.onSecondary, contentColor = scheme.onSurface,
disabledContainerColor = scheme.secondary, disabledContainerColor = scheme.surface,
disabledContentColor = scheme.onSecondary), disabledContentColor = scheme.onSurface
),
modifier = Modifier modifier = Modifier
.size(50.dp) .size(50.dp)
.clip(CircleShape), .clip(CircleShape),

View File

@@ -22,10 +22,11 @@ fun LibraryTopBar(
IconButton( IconButton(
onClick = onSearchClick, onClick = onSearchClick,
colors = IconButtonColors( colors = IconButtonColors(
containerColor = scheme.secondary, containerColor = scheme.surface,
contentColor = scheme.onSecondary, contentColor = scheme.onSurface,
disabledContainerColor = scheme.secondary, disabledContainerColor = scheme.surface,
disabledContentColor = scheme.onSecondary), disabledContentColor = scheme.onSurface
),
modifier = Modifier.size(50.dp), modifier = Modifier.size(50.dp),
) { ) {
Icon( Icon(