-
Notifications
You must be signed in to change notification settings - Fork 4
/
styleguide.styles.js
46 lines (44 loc) · 1.06 KB
/
styleguide.styles.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
const theme = {
fontFamily: {
base: ['sans-serif'],
monospace: ['Fira Code', 'monospace'],
},
maxWidth: 1024,
sidebarWidth: 280,
};
const styles = {
StyleGuide: {
'@global body': {
fontFamily: 'sans-serif',
},
'@global img': {
maxWidth: '100%',
},
'@global tbody > tr > td': {
borderBottom: 'solid 1px #efefef !important',
},
'@global tbody > tr > td:nth-of-type(2) > span': {
whiteSpace: 'pre',
},
'@global tbody > tr > td:nth-of-type(3) code': {
padding: '3px 6px 6px !important',
whiteSpace: 'pre !important',
display: 'inline-block',
},
},
SectionHeading: {
sectionName: {
textDecoration: 'none !important',
'&:hover': {
opacity: 0.75,
},
},
},
Heading: {
heading4: {
fontWeight: 'bold',
marginTop: 30,
},
},
};
module.exports = { theme, styles };