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:
committed by
GitHub
parent
ebf033f7c0
commit
72d2265ae5
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user