From e09ce8d8a32f45135075044afee23711102dd669 Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Wed, 13 Dec 2023 13:48:26 +0100 Subject: [PATCH] Define a color scheme - `error` --- dapp/src/components/Header/ConnectWallet.tsx | 6 ++-- dapp/src/theme/Button.ts | 32 ++++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/dapp/src/components/Header/ConnectWallet.tsx b/dapp/src/components/Header/ConnectWallet.tsx index 7e5db1ec3..bdeb051ce 100644 --- a/dapp/src/components/Header/ConnectWallet.tsx +++ b/dapp/src/components/Header/ConnectWallet.tsx @@ -21,14 +21,12 @@ function ConnectButton({ account, requestAccount, }: ConnectButtonsProps) { - const styles = !account - ? { color: "red.400", borderColor: "red.400", bg: "transparent" } - : undefined + const colorScheme = !account ? "error" : undefined return (