From cf15bd3463cc34427ec871fddb05ca7b2a565fdd Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 26 May 2023 19:32:39 -0600 Subject: [PATCH] createaccount: ui: change the look of the form text field --- damus/Views/CreateAccountView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/damus/Views/CreateAccountView.swift b/damus/Views/CreateAccountView.swift index d660a56d..fc4818b6 100644 --- a/damus/Views/CreateAccountView.swift +++ b/damus/Views/CreateAccountView.swift @@ -163,13 +163,13 @@ func KeyText(_ text: Binding) -> some View { func FormTextInput(_ title: String, text: Binding) -> some View { return TextField("", text: text) .placeholder(when: text.wrappedValue.isEmpty) { - Text(title).foregroundColor(.white.opacity(0.4)) + Text(title).foregroundColor(.gray.opacity(0.5)) } - .padding() + .padding(15) .background { - RoundedRectangle(cornerRadius: 4.0).opacity(0.2) + RoundedRectangle(cornerRadius: 12) + .stroke(.gray.opacity(0.5), lineWidth: 1) } - .foregroundColor(.white) .font(.body.bold()) }