-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.js
51 lines (45 loc) · 793 Bytes
/
custom.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import styled from 'styled-components/macro'
export const TagList = styled.ul`
list-style: none;
line-height: 1;
li {
display: inline-block;
background: black;
color: white;
margin: 12px;
padding: 4px 12px;
border-radius: 8px;
}
`
export const Heading = styled.h1`
color: hotpink;
`
export const Cross = styled.span`
color: crimson;
&:after {
content: "${(props) => props.text || '✗'}";
}
`
export const Marked = styled.code`
background: black;
color: #fd0;
padding: 0 12px;
`
export default {
styles: {
Slide: {
fontSize: '2.5em',
},
h3: {
fontWeight: 300,
},
inlineCode: {
background: 'black',
color: '#fd0',
padding: '6px 2px',
},
p: {
margin: '10px',
},
},
}