Skip to content

Commit

Permalink
Adjust icon color for dark mode (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan authored Jul 2, 2023
1 parent 179af20 commit 804cdf7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion public/images/messages/created.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/images/messages/signed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/components/tx-flow/common/TxStatusWidget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import css from './styles.module.css'
import CloseIcon from '@mui/icons-material/Close'
import useWallet from '@/hooks/wallets/useWallet'
import { useDarkMode } from '@/hooks/useDarkMode'
import SafeLogo from '@/public/images/logo-no-text.svg'

const confirmedMessage = (threshold: number, confirmations: number) => {
return (
Expand Down Expand Up @@ -43,7 +44,7 @@ const TxStatusWidget = ({
return (
<Paper>
<div className={css.header}>
<img src="/images/logo-no-text.svg" alt="Safe logo" className={css.logo} />
<SafeLogo width={32} height={32} />
<Typography variant="h6" fontWeight="700" className={css.title}>
Transaction status
</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
display: none;
}

.logo {
width: 32px;
height: 32px;
}

.badge {
margin-left: var(--space-1);
padding-right: 2px;
Expand Down

0 comments on commit 804cdf7

Please sign in to comment.