forked from jlengstorf/gatsby-theme-jam-example
-
Notifications
You must be signed in to change notification settings - Fork 62
/
index.ts
63 lines (63 loc) · 1.26 KB
/
index.ts
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
52
53
54
55
56
57
58
59
60
61
62
63
/**
* This theme uses `theme-ui` under the hood.
* @see https://theme-ui.com/
* @see https://theme-ui.com/gatsby-plugin/
*/
export default {
colors: {
text: "#232129",
background: "#fafafa",
primary: "#639",
},
fonts: {
default:
'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",' +
' "Segoe UI Emoji", "Segoe UI Symbol"',
},
fontSizes: [16, 18, 20, 22, 27, 36],
lineHeights: {
text: "1.45",
heading: "1.1",
},
sizes: {
container: 650,
},
styles: {
Layout: {
backgroundColor: "background",
color: "text",
fontFamily: "default",
fontSize: 1,
lineHeight: "text",
},
Header: {
backgroundColor: "primary",
color: "background",
fontWeight: "bold",
margin: 0,
span: {
display: "block",
fontSize: 3,
margin: "0 auto",
maxWidth: "container",
padding: 3,
width: "90vw",
},
},
Main: {
margin: "0 auto",
maxWidth: "container",
width: "90vw",
},
Container: {
padding: 0,
paddingBottom: 3,
paddingTop: 3,
},
h1: {
color: "text",
fontSize: 5,
lineHeight: "heading",
},
},
};