mirror of
https://github.com/bbara04/Purefin.git
synced 2026-04-01 01:30:08 +02:00
fix: Change SearchField bg color so it is can be seen easier
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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) },
|
||||
|
||||
Reference in New Issue
Block a user