Clean up colors in theme and fix redundant backgroundSize

This commit is contained in:
Hammad Jutt
2020-08-17 14:14:54 -06:00
parent 19bd2ce197
commit 9b4e36b2c3
5 changed files with 5 additions and 11 deletions

View File

@@ -11,7 +11,6 @@ export const PageContainer: React.FC<Props> = ({ children, ...props }) => (
p={12}
direction="column"
align="center"
backgroundSize="cover"
{...props}
>
{children}

View File

@@ -67,7 +67,7 @@ export const StepProgress: React.FC<StepProps> = ({
{title}
</Text>
<Flex
bgColor="blue02"
bgColor="blue20"
w="100%"
h="0.5rem"
borderRadius="0.25rem"

View File

@@ -43,7 +43,7 @@ const Home: React.FC<Props> = ({ players }) => (
backgroundColor={p.rank?.toLowerCase()}
mr="3"
size="md"
color="dark60"
color="blackAlpha.600"
>
{p.rank}
</MetaTag>

View File

@@ -11,10 +11,7 @@ import MetaGameImage from '../public/images/metagame.png';
const Login: React.FC = () => {
const [step, setStep] = useState(0);
return (
<PageContainer
backgroundImage={`url(${BackgroundImage})`}
backgroundSize="cover"
>
<PageContainer backgroundImage={`url(${BackgroundImage})`}>
<SimpleGrid
columns={3}
alignItems="center"