Browse Source
🎨 Replace buttons styling for variants for consistency (#722)
pull/13907/head
Alejandra
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
4 additions and
27 deletions
-
frontend/src/components/UserSettings/DeleteAccount.tsx
-
frontend/src/routes/login.tsx
-
frontend/src/routes/recover-password.tsx
-
frontend/src/routes/reset-password.tsx
|
@ -22,13 +22,7 @@ const DeleteAccount: React.FC = () => { |
|
|
Permanently delete your data and everything associated with your |
|
|
Permanently delete your data and everything associated with your |
|
|
account. |
|
|
account. |
|
|
</Text> |
|
|
</Text> |
|
|
<Button |
|
|
<Button variant="danger" mt={4} onClick={confirmationModal.onOpen}> |
|
|
bg="ui.danger" |
|
|
|
|
|
color="white" |
|
|
|
|
|
_hover={{ opacity: 0.8 }} |
|
|
|
|
|
mt={4} |
|
|
|
|
|
onClick={confirmationModal.onOpen} |
|
|
|
|
|
> |
|
|
|
|
|
Delete |
|
|
Delete |
|
|
</Button> |
|
|
</Button> |
|
|
<DeleteConfirmation |
|
|
<DeleteConfirmation |
|
|
|
@ -127,13 +127,7 @@ function Login() { |
|
|
Forgot password? |
|
|
Forgot password? |
|
|
</Link> |
|
|
</Link> |
|
|
</Center> |
|
|
</Center> |
|
|
<Button |
|
|
<Button variant="primary" type="submit" isLoading={isSubmitting}> |
|
|
bg="ui.main" |
|
|
|
|
|
color="white" |
|
|
|
|
|
_hover={{ opacity: 0.8 }} |
|
|
|
|
|
type="submit" |
|
|
|
|
|
isLoading={isSubmitting} |
|
|
|
|
|
> |
|
|
|
|
|
Log In |
|
|
Log In |
|
|
</Button> |
|
|
</Button> |
|
|
</Container> |
|
|
</Container> |
|
|
|
@ -82,13 +82,7 @@ function RecoverPassword() { |
|
|
<FormErrorMessage>{errors.email.message}</FormErrorMessage> |
|
|
<FormErrorMessage>{errors.email.message}</FormErrorMessage> |
|
|
)} |
|
|
)} |
|
|
</FormControl> |
|
|
</FormControl> |
|
|
<Button |
|
|
<Button variant="primary" type="submit" isLoading={isSubmitting}> |
|
|
bg="ui.main" |
|
|
|
|
|
color="white" |
|
|
|
|
|
_hover={{ opacity: 0.8 }} |
|
|
|
|
|
type="submit" |
|
|
|
|
|
isLoading={isSubmitting} |
|
|
|
|
|
> |
|
|
|
|
|
Continue |
|
|
Continue |
|
|
</Button> |
|
|
</Button> |
|
|
</Container> |
|
|
</Container> |
|
|
|
@ -124,12 +124,7 @@ function ResetPassword() { |
|
|
<FormErrorMessage>{errors.confirm_password.message}</FormErrorMessage> |
|
|
<FormErrorMessage>{errors.confirm_password.message}</FormErrorMessage> |
|
|
)} |
|
|
)} |
|
|
</FormControl> |
|
|
</FormControl> |
|
|
<Button |
|
|
<Button variant="primary" type="submit"> |
|
|
bg="ui.main" |
|
|
|
|
|
color="white" |
|
|
|
|
|
_hover={{ opacity: 0.8 }} |
|
|
|
|
|
type="submit" |
|
|
|
|
|
> |
|
|
|
|
|
Reset Password |
|
|
Reset Password |
|
|
</Button> |
|
|
</Button> |
|
|
</Container> |
|
|
</Container> |
|
|