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)
|
.padding(horizontal = 16.dp, vertical = 16.dp)
|
||||||
.fillMaxWidth(),
|
.fillMaxWidth(),
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = Arrangement.spacedBy(12.dp, Alignment.CenterHorizontally),
|
horizontalArrangement = Arrangement.spacedBy(16.dp, Alignment.CenterHorizontally),
|
||||||
) {
|
) {
|
||||||
PurefinIconButton(
|
PurefinIconButton(
|
||||||
icon = Icons.Outlined.Menu,
|
icon = Icons.Outlined.Menu,
|
||||||
@@ -52,9 +52,9 @@ fun HomeTopBar(
|
|||||||
value = "",
|
value = "",
|
||||||
onValueChange = {},
|
onValueChange = {},
|
||||||
placeholder = "Search",
|
placeholder = "Search",
|
||||||
backgroundColor = scheme.surface,
|
backgroundColor = scheme.secondaryContainer,
|
||||||
textColor = scheme.onSurface,
|
textColor = scheme.onSecondaryContainer,
|
||||||
cursorColor = scheme.secondary,
|
cursorColor = scheme.onSecondaryContainer,
|
||||||
modifier = Modifier.weight(1.0f, true),
|
modifier = Modifier.weight(1.0f, true),
|
||||||
)
|
)
|
||||||
PurefinIconButton(
|
PurefinIconButton(
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ fun SearchField(
|
|||||||
onValueChange = onValueChange,
|
onValueChange = onValueChange,
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.clip(RoundedCornerShape(24.dp)),
|
.clip(RoundedCornerShape(32.dp)),
|
||||||
placeholder = { Text(placeholder, color = scheme.onSurfaceVariant) },
|
placeholder = { Text(placeholder, color = scheme.onSurfaceVariant) },
|
||||||
leadingIcon =
|
leadingIcon =
|
||||||
{ Icon(imageVector = Icons.Outlined.Search, contentDescription = null, tint = scheme.onSurfaceVariant) },
|
{ Icon(imageVector = Icons.Outlined.Search, contentDescription = null, tint = scheme.onSurfaceVariant) },
|
||||||
|
|||||||
Reference in New Issue
Block a user