diff options
author | Eric Bailey <git@esb.lol> | 2024-09-20 11:38:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 11:38:51 -0500 |
commit | 0eed1cfec1b0caac35930529dfd9ac92bf38606f (patch) | |
tree | c356b389bb5db2c5e531ec860b5a288bada4cbe6 /src/screens/Login | |
parent | 27cceb96f33c86a06507a9ad3e631171474100b4 (diff) | |
download | voidsky-0eed1cfec1b0caac35930529dfd9ac92bf38606f.tar.zst |
[Neue] Buttons (#5406)
* Re-align button sizing (cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec) * Use large, small, tiny (cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0) * Tweaks
Diffstat (limited to 'src/screens/Login')
-rw-r--r-- | src/screens/Login/ChooseAccountForm.tsx | 2 | ||||
-rw-r--r-- | src/screens/Login/ForgotPasswordForm.tsx | 6 | ||||
-rw-r--r-- | src/screens/Login/LoginForm.tsx | 6 | ||||
-rw-r--r-- | src/screens/Login/PasswordUpdatedForm.tsx | 2 | ||||
-rw-r--r-- | src/screens/Login/SetNewPasswordForm.tsx | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/screens/Login/ChooseAccountForm.tsx b/src/screens/Login/ChooseAccountForm.tsx index 8c002b160..678ba5123 100644 --- a/src/screens/Login/ChooseAccountForm.tsx +++ b/src/screens/Login/ChooseAccountForm.tsx @@ -98,7 +98,7 @@ export const ChooseAccountForm = ({ label={_(msg`Back`)} variant="solid" color="secondary" - size="medium" + size="large" onPress={onPressBack}> <ButtonText>{_(msg`Back`)}</ButtonText> </Button> diff --git a/src/screens/Login/ForgotPasswordForm.tsx b/src/screens/Login/ForgotPasswordForm.tsx index 8588888b8..7acaae510 100644 --- a/src/screens/Login/ForgotPasswordForm.tsx +++ b/src/screens/Login/ForgotPasswordForm.tsx @@ -129,7 +129,7 @@ export const ForgotPasswordForm = ({ label={_(msg`Back`)} variant="solid" color="secondary" - size="medium" + size="large" onPress={onPressBack}> <ButtonText> <Trans>Back</Trans> @@ -143,7 +143,7 @@ export const ForgotPasswordForm = ({ label={_(msg`Next`)} variant="solid" color={'primary'} - size="medium" + size="large" onPress={onPressNext}> <ButtonText> <Trans>Next</Trans> @@ -170,7 +170,7 @@ export const ForgotPasswordForm = ({ onPress={onEmailSent} label={_(msg`Go to next`)} accessibilityHint={_(msg`Navigates to the next screen`)} - size="medium" + size="large" variant="ghost" color="secondary"> <ButtonText> diff --git a/src/screens/Login/LoginForm.tsx b/src/screens/Login/LoginForm.tsx index 9a01c0499..c2038b287 100644 --- a/src/screens/Login/LoginForm.tsx +++ b/src/screens/Login/LoginForm.tsx @@ -285,7 +285,7 @@ export const LoginForm = ({ label={_(msg`Back`)} variant="solid" color="secondary" - size="medium" + size="large" onPress={onPressBack}> <ButtonText> <Trans>Back</Trans> @@ -299,7 +299,7 @@ export const LoginForm = ({ accessibilityHint={_(msg`Retries login`)} variant="solid" color="secondary" - size="medium" + size="large" onPress={onPressRetryConnect}> <ButtonText> <Trans>Retry</Trans> @@ -319,7 +319,7 @@ export const LoginForm = ({ accessibilityHint={_(msg`Navigates to the next screen`)} variant="solid" color="primary" - size="medium" + size="large" onPress={onPressNext}> <ButtonText> <Trans>Next</Trans> diff --git a/src/screens/Login/PasswordUpdatedForm.tsx b/src/screens/Login/PasswordUpdatedForm.tsx index 5407f3f1e..03e7d8669 100644 --- a/src/screens/Login/PasswordUpdatedForm.tsx +++ b/src/screens/Login/PasswordUpdatedForm.tsx @@ -39,7 +39,7 @@ export const PasswordUpdatedForm = ({ accessibilityHint={_(msg`Closes password update alert`)} variant="solid" color="primary" - size="medium"> + size="large"> <ButtonText> <Trans>Okay</Trans> </ButtonText> diff --git a/src/screens/Login/SetNewPasswordForm.tsx b/src/screens/Login/SetNewPasswordForm.tsx index 88f7ec541..a6658621c 100644 --- a/src/screens/Login/SetNewPasswordForm.tsx +++ b/src/screens/Login/SetNewPasswordForm.tsx @@ -160,7 +160,7 @@ export const SetNewPasswordForm = ({ label={_(msg`Back`)} variant="solid" color="secondary" - size="medium" + size="large" onPress={onPressBack}> <ButtonText> <Trans>Back</Trans> @@ -174,7 +174,7 @@ export const SetNewPasswordForm = ({ label={_(msg`Next`)} variant="solid" color="primary" - size="medium" + size="large" onPress={onPressNext}> <ButtonText> <Trans>Next</Trans> |