From 71a11b6d43f8c083528b69a977f819f80747d9e5 Mon Sep 17 00:00:00 2001 From: Matt Solomon Date: Tue, 31 Jan 2023 08:31:31 -0800 Subject: [PATCH] style: gradients and containers (#76) * style: gradients and containers * style: tweak style --- components/HowTo.tsx | 4 +--- components/TxForm.tsx | 2 +- pages/_app.tsx | 1 + pages/index.tsx | 2 +- styles/globals.css | 11 +++++++++++ 5 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 styles/globals.css diff --git a/components/HowTo.tsx b/components/HowTo.tsx index ffaeeea..903dc7b 100644 --- a/components/HowTo.tsx +++ b/components/HowTo.tsx @@ -4,10 +4,8 @@ import { Flex, Heading, Link, ListItem, OrderedList, Text } from '@chakra-ui/lay const HowTo = () => { return ( { }, [tokenAddress, tokenList]); return ( - + Recipient address { return ( - + Shield diff --git a/styles/globals.css b/styles/globals.css new file mode 100644 index 0000000..e4b637e --- /dev/null +++ b/styles/globals.css @@ -0,0 +1,11 @@ +body { + background-image: radial-gradient(farthest-corner at 15% 15%, #decba488, #2bb0ed66) !important; +} + +.container { + background-color: #faf9f7dd; + border-radius: 1rem; + border: 1px solid #2bb0edcc; + padding: 2rem; + box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); +}