android, desktop: search placeholder color and size

This commit is contained in:
Evgeny Poberezkin
2024-08-03 10:21:54 +01:00
parent e38db7fb44
commit 9c73ef9769
@@ -63,6 +63,7 @@ fun SearchTextField(
focusedIndicatorColor = Color.Unspecified,
unfocusedIndicatorColor = Color.Unspecified,
disabledIndicatorColor = Color.Unspecified,
placeholderColor = MaterialTheme.colors.secondary,
)
val shape = MaterialTheme.shapes.small.copy(bottomEnd = ZeroCornerSize, bottomStart = ZeroCornerSize)
val interactionSource = remember { MutableInteractionSource() }
@@ -88,7 +89,7 @@ fun SearchTextField(
textStyle = TextStyle(
color = MaterialTheme.colors.onBackground,
fontWeight = FontWeight.Normal,
fontSize = 16.sp
fontSize = 15.sp
),
interactionSource = interactionSource,
decorationBox = @Composable { innerTextField ->