Browse Source

🎨 Replace buttons styling for variants for consistency (#722)

pull/13907/head
Alejandra 1 year ago
committed by GitHub
parent
commit
a2a1900105
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      frontend/src/components/UserSettings/DeleteAccount.tsx
  2. 8
      frontend/src/routes/login.tsx
  3. 8
      frontend/src/routes/recover-password.tsx
  4. 7
      frontend/src/routes/reset-password.tsx

8
frontend/src/components/UserSettings/DeleteAccount.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

8
frontend/src/routes/login.tsx

@ -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>

8
frontend/src/routes/recover-password.tsx

@ -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>

7
frontend/src/routes/reset-password.tsx

@ -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>

Loading…
Cancel
Save