@@ -7,8 +7,8 @@ import textContent from 'react-addons-text-content'
7
7
import styled from 'styled-components'
8
8
9
9
const StyledHeading = styled ( Heading ) `
10
- margin-top: ${ themeGet ( 'space.4' ) } px ;
11
- margin-bottom: ${ themeGet ( 'space.3' ) } px ;
10
+ margin-top: ${ themeGet ( 'space.4' ) } ;
11
+ margin-bottom: ${ themeGet ( 'space.3' ) } ;
12
12
13
13
& .octicon-link {
14
14
visibility: hidden;
@@ -46,31 +46,31 @@ function MarkdownHeading({children, ...props}) {
46
46
}
47
47
48
48
const StyledH1 = styled ( StyledHeading ) . attrs ( { as : 'h1' } ) `
49
- padding-bottom: ${ themeGet ( 'space.1' ) } px ;
50
- font-size: ${ themeGet ( 'fontSizes.5' ) } px ;
49
+ padding-bottom: ${ themeGet ( 'space.1' ) } ;
50
+ font-size: ${ themeGet ( 'fontSizes.5' ) } ;
51
51
border-bottom: 1px solid ${ themeGet ( 'colors.gray.2' ) } ;
52
52
`
53
53
54
54
const StyledH2 = styled ( StyledHeading ) . attrs ( { as : 'h2' } ) `
55
- padding-bottom: ${ themeGet ( 'space.1' ) } px ;
56
- font-size: ${ themeGet ( 'fontSizes.4' ) } px ;
55
+ padding-bottom: ${ themeGet ( 'space.1' ) } ;
56
+ font-size: ${ themeGet ( 'fontSizes.4' ) } ;
57
57
border-bottom: 1px solid ${ themeGet ( 'colors.gray.2' ) } ;
58
58
`
59
59
60
60
const StyledH3 = styled ( StyledHeading ) . attrs ( { as : 'h3' } ) `
61
- font-size: ${ themeGet ( 'fontSizes.3' ) } px ;
61
+ font-size: ${ themeGet ( 'fontSizes.3' ) } ;
62
62
`
63
63
64
64
const StyledH4 = styled ( StyledHeading ) . attrs ( { as : 'h4' } ) `
65
- font-size: ${ themeGet ( 'fontSizes.2' ) } px ;
65
+ font-size: ${ themeGet ( 'fontSizes.2' ) } ;
66
66
`
67
67
68
68
const StyledH5 = styled ( StyledHeading ) . attrs ( { as : 'h5' } ) `
69
- font-size: ${ themeGet ( 'fontSizes.1' ) } px ;
69
+ font-size: ${ themeGet ( 'fontSizes.1' ) } ;
70
70
`
71
71
72
72
const StyledH6 = styled ( StyledHeading ) . attrs ( { as : 'h6' } ) `
73
- font-size: ${ themeGet ( 'fontSizes.1' ) } px ;
73
+ font-size: ${ themeGet ( 'fontSizes.1' ) } ;
74
74
color: ${ themeGet ( 'colors.gray.5' ) } ;
75
75
`
76
76
0 commit comments