mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
refactor: update IconButton colors in the top bars for improved UI consistency
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user