Better dark mode colors

This commit is contained in:
Ben Grant 2021-06-05 23:40:23 +10:00
parent dada28d723
commit 2c43a8e0d2
12 changed files with 51 additions and 36 deletions

View file

@ -17,7 +17,7 @@ export const TitleSmall = styled.span`
text-align: center;
font-family: 'Samurai Bob', sans-serif;
font-weight: 400;
color: ${props => props.theme.primaryDark};
color: ${props => props.theme.mode === 'light' ? props.theme.primaryDark : props.theme.primaryLight};
line-height: 1em;
text-transform: uppercase;
@ -113,7 +113,7 @@ export const Stat = styled.div`
export const StatNumber = styled.span`
display: block;
font-weight: 900;
color: ${props => props.theme.primaryDark};
color: ${props => props.theme.mode === 'light' ? props.theme.primaryDark : props.theme.primaryLight};
font-size: 2em;
`;