diff --git a/dapp/public/acre.svg b/dapp/public/acre.svg index 59e8dbf1c..557d8a50e 100644 --- a/dapp/public/acre.svg +++ b/dapp/public/acre.svg @@ -1,4 +1,4 @@ - - + + diff --git a/dapp/src/DApp.tsx b/dapp/src/DApp.tsx index f38c6379e..ec668e5e8 100644 --- a/dapp/src/DApp.tsx +++ b/dapp/src/DApp.tsx @@ -5,6 +5,7 @@ import theme from "./theme" import { LedgerWalletAPIProvider, WalletContextProvider } from "./contexts" import Header from "./components/Header" import Overview from "./components/Overview" +import GlobalStyles from "./components/GlobalStyles" function DApp() { useDetectThemeMode() @@ -24,6 +25,7 @@ function DAppProviders() { + diff --git a/dapp/src/components/GlobalStyles/index.tsx b/dapp/src/components/GlobalStyles/index.tsx new file mode 100644 index 000000000..80b36e6e8 --- /dev/null +++ b/dapp/src/components/GlobalStyles/index.tsx @@ -0,0 +1,47 @@ +import React from "react" +import { Global } from "@emotion/react" + +import SegmentRegular from "../../fonts/Segment-Regular.otf" +import SegmentMedium from "../../fonts/Segment-Medium.otf" +import SegmentSemiBold from "../../fonts/Segment-SemiBold.otf" +import SegmentBold from "../../fonts/Segment-Bold.otf" +import SegmentBlack from "../../fonts/Segment-Black.otf" + +export default function GlobalStyles() { + return ( + + ) +} diff --git a/dapp/src/components/Header/ConnectWallet.tsx b/dapp/src/components/Header/ConnectWallet.tsx index 8b35a010b..bec7df49e 100644 --- a/dapp/src/components/Header/ConnectWallet.tsx +++ b/dapp/src/components/Header/ConnectWallet.tsx @@ -1,12 +1,5 @@ import React from "react" -import { - Button, - HStack, - Icon, - Text, - Tooltip, - useColorModeValue, -} from "@chakra-ui/react" +import { Button, HStack, Icon, Text, Tooltip } from "@chakra-ui/react" import { Account } from "@ledgerhq/wallet-api-client" import { Bitcoin, Ethereum, Info } from "../../static/icons" import { BITCOIN } from "../../constants" @@ -30,8 +23,9 @@ function ConnectButton({ account, requestAccount, }: ConnectButtonsProps) { - const styles = !account ? { color: "error", borderColor: "error" } : undefined - const colorRightIcon = useColorModeValue("black", "grey.80") + const styles = !account + ? { color: "red.400", borderColor: "red.400" } + : undefined return (