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

This commit is contained in:
Alejandra
2024-03-15 01:05:28 +01:00
committed by GitHub
parent 3fbdf21a05
commit a2a1900105
4 changed files with 4 additions and 27 deletions

View File

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

View File

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

View File

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

View File

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