fix: primary buttons

This commit is contained in:
Caio Cabral committed 2025-01-14 08:09:03 -05:00
1 parent 921fb6e458
commit 5e9629ee29
24 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false }) =>
{isAdmin && (
<Button
variant="contained"
color="primary"
color="accent"
sx={{ alignSelf: "center" }}
onClick={() => navigate(link)}
>
@@ -7,9 +7,9 @@ import PropTypes from "prop-types";
const CustomStepIcon = (props) => {
const { completed, active } = props;
return completed ? (
<CheckCircle color="primary" />
<CheckCircle color="accent" />
) : (
<RadioButtonCheckedIcon color={active ? "primary" : "disabled"} />
<RadioButtonCheckedIcon color={active ? "accent" : "disabled"} />
);
};
@@ -323,7 +323,7 @@ const ProfilePanel = () => {
</Button>
<Button
variant="text"
color="primary"
color="accent"
onClick={openPictureModal}
>
Update
@@ -450,7 +450,7 @@ const ProfilePanel = () => {
</Button>
<Button
variant="contained"
color="primary"
color="accent"
onClick={handleUpdatePicture}
disabled={
(Object.keys(errors).length !== 0 && errors?.picture) ||
@@ -297,7 +297,7 @@ const TeamPanel = () => {
</LoadingButton>
<LoadingButton
variant="contained"
color="primary"
color="accent"
onClick={handleInviteMember}
loading={isSendingInvite}
disabled={isDisabled}