Update compound (#3519)

* Update compound

textPlaceholder is now textSecondary.

* Update compound again with support for button shapes on the plain button style.
This commit is contained in:
Doug
2024-11-15 13:42:53 +00:00
committed by GitHub
parent b2ec34ad7b
commit 94c4636a9d
150 changed files with 295 additions and 295 deletions

View File

@@ -66,7 +66,7 @@ struct LoginScreen: View {
.padding(.bottom, 8)
TextField(text: $context.username) {
Text(L10n.commonUsername).foregroundColor(.compound.textPlaceholder)
Text(L10n.commonUsername).foregroundColor(.compound.textSecondary)
}
.focused($isUsernameFocused)
.textFieldStyle(.authentication(accessibilityIdentifier: A11yIdentifiers.loginScreen.emailUsername))
@@ -81,7 +81,7 @@ struct LoginScreen: View {
.padding(.bottom, 20)
SecureField(text: $context.password) {
Text(L10n.commonPassword).foregroundColor(.compound.textPlaceholder)
Text(L10n.commonPassword).foregroundColor(.compound.textSecondary)
}
.focused($isPasswordFocused)
.textFieldStyle(.authentication(accessibilityIdentifier: A11yIdentifiers.loginScreen.password))