-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtokens.js
61 lines (53 loc) · 1001 Bytes
/
tokens.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
52
53
54
55
56
57
58
59
60
61
const sizes = {
phone: 380,
phablet: 650,
tablet: 768,
desktop: 960,
desktopLarge: 1200,
large: 1400,
xlarge: 2000,
xxlarge: 2200
};
export default {
sizes,
colors: {
grey: 'rgb(166, 166, 166)'
},
mq: Object.keys(sizes).reduce((acc, size) => {
acc[size] = `screen and (min-width: ${sizes[size]}px)`;
return acc;
}, {}),
fonts: {
domaine: {
family: 'Domaine Display, serif',
weight: {
semibold: 600
}
},
founders: {
family: 'Founders Grotesk, sans-serif',
weight: {
regular: 400,
medium: 500
}
},
gill: {
family: 'Gill Sans, sans-serif',
weight: {
regular: 400
}
},
icon: {
family: 'Globus Icon'
}
},
mixins: {
visuallyHidden: `
position: absolute !important;
height: 1px; width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
`
}
};