Skip to content

Commit

Permalink
fix(dashboard): fix undefined color
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Mar 6, 2019
1 parent 729e8fd commit a0f0b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dashboard/src/components/text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export const H2 = styled.h2`
${fontRegular};
font-size: 2rem;
line-height: 3.5rem;
color: ${props => props.color || colors.lightBlack};
color: ${props => props.color || colors.gardenBlack};
margin: 0 0 2rem 0;
`

export const H3 = styled.h3`
${fontRegular};
font-size: 1.75rem;
line-height: 3.2rem;
color: ${props => props.color || colors.lightBlack};
color: ${props => props.color || colors.gardenBlack};
margin: 0 0 2rem 0;
`
3 changes: 0 additions & 3 deletions dashboard/src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export const tablet = 768
export const desktop = 992
export const big = 1680

export const MOBILE_SECTIONS_MARGIN = "48px"
// TODO Find proper fonts and set weights

export const fontFamily = `font-family: Raleway, Arial, Helvetica, sans-serif`
export const fontBold = `${fontFamily};font-weight: 700;`
export const fontRegular = `${fontFamily};font-weight: 400;`
Expand Down

0 comments on commit a0f0b43

Please sign in to comment.