Better dark mode colors
This commit is contained in:
parent
dada28d723
commit
2c43a8e0d2
12 changed files with 51 additions and 36 deletions
|
|
@ -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;
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue