From 17fc635ed1ee4758a863a54f63cb1f1a3e933104 Mon Sep 17 00:00:00 2001 From: Trey t Date: Tue, 11 Jul 2023 22:10:50 -0500 Subject: [PATCH] WIP --- Werkout_ios/Views/Login/LoginView.swift | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Werkout_ios/Views/Login/LoginView.swift b/Werkout_ios/Views/Login/LoginView.swift index daf7ba0..13d5e05 100644 --- a/Werkout_ios/Views/Login/LoginView.swift +++ b/Werkout_ios/Views/Login/LoginView.swift @@ -15,17 +15,16 @@ struct LoginView: View { var body: some View { VStack { - Text("Login") - .font(.title) - TextField("Email", text: $email) .textContentType(.username) .autocapitalization(.none) .frame(height: 55) .textFieldStyle(PlainTextFieldStyle()) .padding([.horizontal], 4) - .overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 200/255, green: 200/255, blue: 200/255, alpha: 0.2))) + .overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 255/255, green: 255/255, blue: 255/255, alpha: 1))) .cornerRadius(8) + .padding(.top, 25) + SecureField("Password", text: $password) .textContentType(.password) @@ -33,7 +32,7 @@ struct LoginView: View { .frame(height: 55) .textFieldStyle(PlainTextFieldStyle()) .padding([.horizontal], 4) - .overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 200/255, green: 200/255, blue: 200/255, alpha: 0.2))) + .overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 255/255, green: 255/255, blue: 255/255, alpha: 1))) .cornerRadius(8) Button("Login", action: { @@ -48,8 +47,12 @@ struct LoginView: View { .frame(maxWidth: .infinity) Spacer() + Image("launch_icon") + Spacer() } .padding() + .background(Color(UIColor(red: 157/255, green: 138/255, blue: 255/255, alpha: 1))) + } func login() {