diff --git a/src/components/ButtonTrust.js b/src/components/ButtonTrust.js index 5ad81bda..f97d1058 100644 --- a/src/components/ButtonTrust.js +++ b/src/components/ButtonTrust.js @@ -12,10 +12,12 @@ import { } from '~/styles/icons'; const useStyles = makeStyles((theme) => ({ - default: { + trustButton: { background: 'transparent', color: theme.palette.common.whiteAlmost, padding: '0', + }, + trustButtonNoTrust: { '& stop:first-of-type': { stopColor: theme.custom.colors.purpleDark, }, @@ -31,7 +33,7 @@ const useStyles = makeStyles((theme) => ({ }, }, }, - oneWayTrust: { + trustButtonOneWay: { '& stop:first-of-type': { stopColor: theme.custom.colors.violet, }, @@ -47,7 +49,7 @@ const useStyles = makeStyles((theme) => ({ }, }, }, - mutualTrust: { + trustButtonMutualTrust: { '& stop:first-of-type': { stopColor: theme.custom.colors.fountainBlue, }, @@ -64,7 +66,12 @@ const useStyles = makeStyles((theme) => ({ }, }, trustButtonDisabled: { - background: theme.custom.gradients.gray, + '& stop:first-of-type': { + stopColor: theme.custom.colors.grayDark, + }, + '& stop:last-of-type': { + stopColor: theme.custom.colors.gray, + }, }, trustButtonContainer: { width: '55px', @@ -103,27 +110,29 @@ const ButtonTrust = ({ return ( - {trustStatus.isPending ? ( - - ) : ( - - + + + {trustStatus.isPending ? ( + + ) : ( - - )} + )} + ); };