diff --git a/src/components/Dependencies/styles.ts b/src/components/Dependencies/styles.ts index 545494c..547039d 100644 --- a/src/components/Dependencies/styles.ts +++ b/src/components/Dependencies/styles.ts @@ -2,6 +2,7 @@ import styled from 'react-emotion'; import Card from '@material-ui/core/Card'; import Typography from '@material-ui/core/Typography'; import Chip from '@material-ui/core/Chip'; +import { fontWeight } from '../../utils/styles/sizes'; export const CardWrap = styled(Card)({ '&&': { @@ -11,7 +12,7 @@ export const CardWrap = styled(Card)({ export const Heading = styled(Typography)({ '&&': { - fontWeight: 700, + fontWeight: fontWeight.bold, textTransform: 'capitalize', }, }); diff --git a/src/components/Install/styles.ts b/src/components/Install/styles.ts index d76d538..635294e 100644 --- a/src/components/Install/styles.ts +++ b/src/components/Install/styles.ts @@ -2,10 +2,11 @@ import Avatar from '@material-ui/core/Avatar'; import ListItem from '@material-ui/core/ListItem'; import Typography from '@material-ui/core/Typography'; import styled from 'react-emotion'; +import { fontWeight } from '../../utils/styles/sizes'; export const Heading = styled(Typography)({ '&&': { - fontWeight: 700, + fontWeight: fontWeight.bold, textTransform: 'capitalize', }, }); diff --git a/src/components/Package/styles.ts b/src/components/Package/styles.ts index 482af45..44a1707 100644 --- a/src/components/Package/styles.ts +++ b/src/components/Package/styles.ts @@ -13,6 +13,7 @@ import { breakpoints } from '../../utils/styles/media'; import Ico from '../Icon'; import Label from '../Label'; import colors from '../../utils/styles/colors'; +import { fontWeight } from '../../utils/styles/sizes'; export const OverviewItem = styled('span')` && { @@ -52,7 +53,7 @@ export const Published = styled('span')({ export const Text = styled(Label)({ '&&': { fontSize: '12px', - fontWeight: 500, + fontWeight: fontWeight.semiBold, color: colors.greyLight2, }, }); diff --git a/src/components/Repository/styles.ts b/src/components/Repository/styles.ts index 6fa73fd..4a55ccb 100644 --- a/src/components/Repository/styles.ts +++ b/src/components/Repository/styles.ts @@ -5,10 +5,11 @@ import Typography from '@material-ui/core/Typography'; import Github from '../../icons/GitHub'; import colors from '../../utils/styles/colors'; +import { fontWeight } from '../../utils/styles/sizes'; export const Heading = styled(Typography)({ '&&': { - fontWeight: 700, + fontWeight: fontWeight.bold, textTransform: 'capitalize', }, }); diff --git a/src/components/UpLinks/styles.ts b/src/components/UpLinks/styles.ts index 1dd65c9..01909fe 100644 --- a/src/components/UpLinks/styles.ts +++ b/src/components/UpLinks/styles.ts @@ -1,10 +1,11 @@ import styled from 'react-emotion'; import Typography from '@material-ui/core/Typography'; import { default as MuiListItemText } from '@material-ui/core/ListItemText'; +import { fontWeight } from '../../utils/styles/sizes'; export const Heading = styled(Typography)({ '&&': { - fontWeight: 700, + fontWeight: fontWeight.bold, }, }); diff --git a/src/components/Versions/styles.ts b/src/components/Versions/styles.ts index 1dd65c9..01909fe 100644 --- a/src/components/Versions/styles.ts +++ b/src/components/Versions/styles.ts @@ -1,10 +1,11 @@ import styled from 'react-emotion'; import Typography from '@material-ui/core/Typography'; import { default as MuiListItemText } from '@material-ui/core/ListItemText'; +import { fontWeight } from '../../utils/styles/sizes'; export const Heading = styled(Typography)({ '&&': { - fontWeight: 700, + fontWeight: fontWeight.bold, }, });