File tree 12 files changed +25
-14
lines changed 12 files changed +25
-14
lines changed Original file line number Diff line number Diff line change 1
1
import styled from 'react-emotion' ;
2
2
import ListItem from '@material-ui/core/ListItem' ;
3
3
import Typography from '@material-ui/core/Typography' ;
4
+ import { fontWeight } from '../../utils/styles/sizes' ;
4
5
5
6
export const Heading = styled ( Typography ) ( {
6
7
'&&' : {
7
- fontWeight : 700 ,
8
+ fontWeight : fontWeight . bold ,
8
9
textTransform : 'capitalize' ,
9
10
} ,
10
11
} ) ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import styled from 'react-emotion';
2
2
import Card from '@material-ui/core/Card' ;
3
3
import Typography from '@material-ui/core/Typography' ;
4
4
import Chip from '@material-ui/core/Chip' ;
5
+ import { fontWeight } from '../../utils/styles/sizes' ;
5
6
6
7
export const CardWrap = styled ( Card ) ( {
7
8
'&&' : {
@@ -11,7 +12,7 @@ export const CardWrap = styled(Card)({
11
12
12
13
export const Heading = styled ( Typography ) ( {
13
14
'&&' : {
14
- fontWeight : 700 ,
15
+ fontWeight : fontWeight . bold ,
15
16
textTransform : 'capitalize' ,
16
17
} ,
17
18
} ) ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import styled from 'react-emotion';
2
2
import Typography from '@material-ui/core/Typography' ;
3
3
import { default as MuiFab } from '@material-ui/core/Fab' ;
4
4
import colors from '../../utils/styles/colors' ;
5
+ import { fontWeight } from '../../utils/styles/sizes' ;
5
6
6
7
export const Details = styled ( 'span' ) ( {
7
8
display : 'flex' ,
@@ -20,7 +21,7 @@ export const Content = styled('div')({
20
21
21
22
export const Heading = styled ( Typography ) ( {
22
23
'&&' : {
23
- fontWeight : 700 ,
24
+ fontWeight : fontWeight . bold ,
24
25
marginBottom : '10px' ,
25
26
textTransform : 'capitalize' ,
26
27
} ,
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ import ListItem from '@material-ui/core/ListItem';
5
5
import Typography from '@material-ui/core/Typography' ;
6
6
7
7
import colors from '../../utils/styles/colors' ;
8
+ import { fontWeight } from '../../utils/styles/sizes' ;
8
9
9
10
export const Heading = styled ( Typography ) ( {
10
11
'&&' : {
11
- fontWeight : 700 ,
12
+ fontWeight : fontWeight . bold ,
12
13
textTransform : 'capitalize' ,
13
14
} ,
14
15
} ) ;
Original file line number Diff line number Diff line change 1
1
import styled from 'react-emotion' ;
2
2
import ListItem from '@material-ui/core/ListItem' ;
3
3
import Typography from '@material-ui/core/Typography' ;
4
+ import { fontWeight } from '../../utils/styles/sizes' ;
4
5
5
6
export const Heading = styled ( Typography ) ( {
6
7
'&&' : {
7
- fontWeight : 700 ,
8
+ fontWeight : fontWeight . bold ,
8
9
textTransform : 'capitalize' ,
9
10
} ,
10
11
} ) ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const InnerMobileNavBar = styled('div')({
49
49
backgroundColor : colors . greyLight ,
50
50
color : colors . white ,
51
51
width : '100%' ,
52
- padding : '0px 5px' ,
52
+ padding : '0 5px' ,
53
53
margin : '0 10px 0 0' ,
54
54
} ,
55
55
} ) ;
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ import Avatar from '@material-ui/core/Avatar';
2
2
import ListItem from '@material-ui/core/ListItem' ;
3
3
import Typography from '@material-ui/core/Typography' ;
4
4
import styled from 'react-emotion' ;
5
+ import { fontWeight } from '../../utils/styles/sizes' ;
5
6
6
7
export const Heading = styled ( Typography ) ( {
7
8
'&&' : {
8
- fontWeight : 700 ,
9
+ fontWeight : fontWeight . bold ,
9
10
textTransform : 'capitalize' ,
10
11
} ,
11
12
} ) ;
Original file line number Diff line number Diff line change 1
1
import styled , { css } from 'react-emotion' ;
2
+ import colors from '../../utils/styles/colors' ;
2
3
3
4
export const Content = styled ( 'div' ) ( {
4
5
'&&' : {
5
- backgroundColor : '#ffffff' ,
6
+ backgroundColor : colors . white ,
6
7
flex : 1 ,
7
8
display : 'flex' ,
8
9
position : 'relative' ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { breakpoints } from '../../utils/styles/media';
13
13
import Ico from '../Icon' ;
14
14
import Label from '../Label' ;
15
15
import colors from '../../utils/styles/colors' ;
16
+ import { fontWeight } from '../../utils/styles/sizes' ;
16
17
17
18
export const OverviewItem = styled ( 'span' ) `
18
19
&& {
@@ -36,23 +37,23 @@ export const OverviewItem = styled('span')`
36
37
37
38
export const Icon = styled ( Ico ) ( {
38
39
'&&' : {
39
- margin : '2px 10px 0px 0' ,
40
+ margin : '2px 10px 0 0' ,
40
41
fill : colors . greyLight2 ,
41
42
} ,
42
43
} ) ;
43
44
44
45
export const Published = styled ( 'span' ) ( {
45
46
'&&' : {
46
47
color : colors . greyLight2 ,
47
- margin : '0px 5px 0px 0px ' ,
48
+ margin : '0 5px 0 0 ' ,
48
49
} ,
49
50
} ) ;
50
51
51
52
// @ts -ignore
52
53
export const Text = styled ( Label ) ( {
53
54
'&&' : {
54
55
fontSize : '12px' ,
55
- fontWeight : 500 ,
56
+ fontWeight : fontWeight . semiBold ,
56
57
color : colors . greyLight2 ,
57
58
} ,
58
59
} ) ;
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ import Typography from '@material-ui/core/Typography';
5
5
6
6
import Github from '../../icons/GitHub' ;
7
7
import colors from '../../utils/styles/colors' ;
8
+ import { fontWeight } from '../../utils/styles/sizes' ;
8
9
9
10
export const Heading = styled ( Typography ) ( {
10
11
'&&' : {
11
- fontWeight : 700 ,
12
+ fontWeight : fontWeight . bold ,
12
13
textTransform : 'capitalize' ,
13
14
} ,
14
15
} ) ;
Original file line number Diff line number Diff line change 1
1
import styled from 'react-emotion' ;
2
2
import Typography from '@material-ui/core/Typography' ;
3
3
import { default as MuiListItemText } from '@material-ui/core/ListItemText' ;
4
+ import { fontWeight } from '../../utils/styles/sizes' ;
4
5
5
6
export const Heading = styled ( Typography ) ( {
6
7
'&&' : {
7
- fontWeight : 700 ,
8
+ fontWeight : fontWeight . bold ,
8
9
} ,
9
10
} ) ;
10
11
Original file line number Diff line number Diff line change 1
1
import styled from 'react-emotion' ;
2
2
import Typography from '@material-ui/core/Typography' ;
3
3
import { default as MuiListItemText } from '@material-ui/core/ListItemText' ;
4
+ import { fontWeight } from '../../utils/styles/sizes' ;
4
5
5
6
export const Heading = styled ( Typography ) ( {
6
7
'&&' : {
7
- fontWeight : 700 ,
8
+ fontWeight : fontWeight . bold ,
8
9
} ,
9
10
} ) ;
10
11
You can’t perform that action at this time.
0 commit comments