fix: Change SearchField bg color so it is can be seen easier

This commit is contained in:
2026-02-19 10:57:27 +01:00
parent 7d564c2470
commit 90a66ef7e3
2 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ fun HomeTopBar(
.padding(horizontal = 16.dp, vertical = 16.dp)
.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.spacedBy(12.dp, Alignment.CenterHorizontally),
horizontalArrangement = Arrangement.spacedBy(16.dp, Alignment.CenterHorizontally),
) {
PurefinIconButton(
icon = Icons.Outlined.Menu,
@@ -52,9 +52,9 @@ fun HomeTopBar(
value = "",
onValueChange = {},
placeholder = "Search",
backgroundColor = scheme.surface,
textColor = scheme.onSurface,
cursorColor = scheme.secondary,
backgroundColor = scheme.secondaryContainer,
textColor = scheme.onSecondaryContainer,
cursorColor = scheme.onSecondaryContainer,
modifier = Modifier.weight(1.0f, true),
)
PurefinIconButton(

View File

@@ -32,7 +32,7 @@ fun SearchField(
onValueChange = onValueChange,
modifier = modifier
.fillMaxWidth()
.clip(RoundedCornerShape(24.dp)),
.clip(RoundedCornerShape(32.dp)),
placeholder = { Text(placeholder, color = scheme.onSurfaceVariant) },
leadingIcon =
{ Icon(imageVector = Icons.Outlined.Search, contentDescription = null, tint = scheme.onSurfaceVariant) },