From 804cdf74052f1bab00f32720fde8938137418300 Mon Sep 17 00:00:00 2001 From: Usame Algan <5880855+usame-algan@users.noreply.github.com> Date: Sun, 2 Jul 2023 15:07:46 +0200 Subject: [PATCH] Adjust icon color for dark mode (#2210) --- public/images/messages/created.svg | 2 +- public/images/messages/signed.svg | 2 +- src/components/tx-flow/common/TxStatusWidget/index.tsx | 3 ++- .../tx-flow/common/TxStatusWidget/styles.module.css | 5 ----- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/public/images/messages/created.svg b/public/images/messages/created.svg index 9dfe24e7da..1aac645c67 100644 --- a/public/images/messages/created.svg +++ b/public/images/messages/created.svg @@ -1,4 +1,4 @@ - + diff --git a/public/images/messages/signed.svg b/public/images/messages/signed.svg index 87f0b434be..3411f0a466 100644 --- a/public/images/messages/signed.svg +++ b/public/images/messages/signed.svg @@ -1,4 +1,4 @@ - + diff --git a/src/components/tx-flow/common/TxStatusWidget/index.tsx b/src/components/tx-flow/common/TxStatusWidget/index.tsx index 29a5f82f7d..4b96fe1c5d 100644 --- a/src/components/tx-flow/common/TxStatusWidget/index.tsx +++ b/src/components/tx-flow/common/TxStatusWidget/index.tsx @@ -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 ( @@ -43,7 +44,7 @@ const TxStatusWidget = ({ return (
- Safe logo + Transaction status diff --git a/src/components/tx-flow/common/TxStatusWidget/styles.module.css b/src/components/tx-flow/common/TxStatusWidget/styles.module.css index fcdd41ff79..7698615415 100644 --- a/src/components/tx-flow/common/TxStatusWidget/styles.module.css +++ b/src/components/tx-flow/common/TxStatusWidget/styles.module.css @@ -53,11 +53,6 @@ display: none; } -.logo { - width: 32px; - height: 32px; -} - .badge { margin-left: var(--space-1); padding-right: 2px;