From 34526d527e6a7bf49186a04705ae564e7bae79b1 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Mon, 22 May 2023 19:07:18 -0700 Subject: [PATCH] fix(trading): icon color when navbar is dark (#3887) --- apps/trading/components/icons/wallet.tsx | 7 +------ .../vega-wallet-connect-button.tsx | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/apps/trading/components/icons/wallet.tsx b/apps/trading/components/icons/wallet.tsx index b196a2640..d8faaa9a3 100644 --- a/apps/trading/components/icons/wallet.tsx +++ b/apps/trading/components/icons/wallet.tsx @@ -4,15 +4,10 @@ export const WalletIcon = ({ className }: { className?: string }) => { width="26" height="18" viewBox="0 0 26 18" - fill="none" - xmlns="http://www.w3.org/2000/svg" className={className} data-testid="wallet-icon" > - + ); }; diff --git a/apps/trading/components/vega-wallet-connect-button/vega-wallet-connect-button.tsx b/apps/trading/components/vega-wallet-connect-button/vega-wallet-connect-button.tsx index a6bed28c8..b51e9e625 100644 --- a/apps/trading/components/vega-wallet-connect-button/vega-wallet-connect-button.tsx +++ b/apps/trading/components/vega-wallet-connect-button/vega-wallet-connect-button.tsx @@ -53,12 +53,13 @@ const MobileWalletButton = ({ setDrawerOpen(!drawerOpen); } }, [drawerOpen, fetchPubKeys, isConnected, openVegaWalletDialog]); + console.log(drawerOpen, isYellow); const iconClass = drawerOpen ? 'hidden' : isYellow ? 'fill-black' - : 'fill-black dark:fill-white'; + : 'fill-white'; const [container, setContainer] = useState(null); const walletButton = (