Skip to content

Commit

Permalink
fix: Blockaid warning color
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Nov 6, 2024
1 parent 430f45e commit 78ff31b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
23 changes: 9 additions & 14 deletions public/images/transactions/blockaid-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/tx/security/blockaid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ const BlockaidResultWarning = ({
<Track {...MODALS_EVENTS.ACCEPT_RISK}>
<FormControlLabel
label={
<Typography variant="body2">
<Typography variant="body2" color="static.main">
I understand the risks and would like to sign this {isTransaction ? 'transaction' : 'message'}
</Typography>
}
control={<Checkbox checked={isRiskConfirmed} onChange={toggleConfirmation} />}
control={<Checkbox checked={isRiskConfirmed} onChange={toggleConfirmation} color="primary" />}
/>
</Track>
</Box>
Expand Down
4 changes: 4 additions & 0 deletions src/components/tx/security/blockaid/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}

.riskConfirmationBlock :global .MuiCheckbox-root {
color: var(--color-static-main);
}

0 comments on commit 78ff31b

Please sign in to comment.