diff --git a/app/src/main/java/hu/bbara/purefin/ui/screen/home/components/HomeTopBar.kt b/app/src/main/java/hu/bbara/purefin/ui/screen/home/components/HomeTopBar.kt index 3d5c6ab4..855fe34c 100644 --- a/app/src/main/java/hu/bbara/purefin/ui/screen/home/components/HomeTopBar.kt +++ b/app/src/main/java/hu/bbara/purefin/ui/screen/home/components/HomeTopBar.kt @@ -38,10 +38,11 @@ fun HomeTopBar( IconButton( onClick = onSearchClick, colors = IconButtonColors( - containerColor = scheme.secondary, - contentColor = scheme.onSecondary, - disabledContainerColor = scheme.secondary, - disabledContentColor = scheme.onSecondary), + containerColor = scheme.surface, + contentColor = scheme.onSurface, + disabledContainerColor = scheme.surface, + disabledContentColor = scheme.onSurface + ), modifier = Modifier.size(50.dp), ) { Icon( @@ -54,10 +55,11 @@ fun HomeTopBar( IconButton( onClick = { isProfileMenuExpanded = true }, colors = IconButtonColors( - containerColor = scheme.secondary, - contentColor = scheme.onSecondary, - disabledContainerColor = scheme.secondary, - disabledContentColor = scheme.onSecondary), + containerColor = scheme.surface, + contentColor = scheme.onSurface, + disabledContainerColor = scheme.surface, + disabledContentColor = scheme.onSurface + ), modifier = Modifier .size(50.dp) .clip(CircleShape), diff --git a/app/src/main/java/hu/bbara/purefin/ui/screen/library/components/LibraryTopBar.kt b/app/src/main/java/hu/bbara/purefin/ui/screen/library/components/LibraryTopBar.kt index 5c07c7a6..35db6545 100644 --- a/app/src/main/java/hu/bbara/purefin/ui/screen/library/components/LibraryTopBar.kt +++ b/app/src/main/java/hu/bbara/purefin/ui/screen/library/components/LibraryTopBar.kt @@ -22,10 +22,11 @@ fun LibraryTopBar( IconButton( onClick = onSearchClick, colors = IconButtonColors( - containerColor = scheme.secondary, - contentColor = scheme.onSecondary, - disabledContainerColor = scheme.secondary, - disabledContentColor = scheme.onSecondary), + containerColor = scheme.surface, + contentColor = scheme.onSurface, + disabledContainerColor = scheme.surface, + disabledContentColor = scheme.onSurface + ), modifier = Modifier.size(50.dp), ) { Icon(