Replace textPlaceholder color usages with textSecondary (#3873)

* Replace `textPlaceholder` color usages with `textSecondary`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
Jorge Martin Espinosa
2024-11-15 08:55:33 +01:00
committed by GitHub
parent ebf033f7c0
commit 72d2265ae5
55 changed files with 109 additions and 109 deletions

View File

@@ -145,7 +145,7 @@ private fun RoomDirectoryRoomList(
Text(
text = stringResource(id = CommonStrings.common_no_results),
style = ElementTheme.typography.fontBodyLgRegular,
color = ElementTheme.colors.textPlaceholder,
color = ElementTheme.colors.textSecondary,
modifier = Modifier.padding(16.dp)
)
}
@@ -185,8 +185,8 @@ private fun SearchTextField(
colors: TextFieldColors = TextFieldDefaults.colors(
focusedContainerColor = Color.Transparent,
unfocusedContainerColor = Color.Transparent,
unfocusedPlaceholderColor = ElementTheme.colors.textPlaceholder,
focusedPlaceholderColor = ElementTheme.colors.textPlaceholder,
unfocusedPlaceholderColor = ElementTheme.colors.textSecondary,
focusedPlaceholderColor = ElementTheme.colors.textSecondary,
focusedTextColor = ElementTheme.colors.textPrimary,
unfocusedTextColor = ElementTheme.colors.textPrimary,
focusedIndicatorColor = ElementTheme.colors.borderInteractiveSecondary,

View File

@@ -41,7 +41,7 @@ fun NumberedListMolecule(
private fun ItemNumber(
index: Int,
) {
val color = ElementTheme.colors.textPlaceholder
val color = ElementTheme.colors.textSecondary
Box(
modifier = Modifier
.border(1.dp, color, CircleShape)

View File

@@ -200,7 +200,7 @@ private fun DecorationBox(
if (placeholder != null && isTextEmpty) {
Text(
text = placeholder,
color = ElementTheme.colors.textPlaceholder,
color = ElementTheme.colors.textSecondary,
style = ElementTheme.typography.fontBodyLgRegular,
)
}