forked from backpacker/primitives
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
58 lines (54 loc) · 806 Bytes
/
config.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
const weights = {
extralight: '100',
thin: '200',
light: '300',
normal: '400',
medium: '500',
semibold: '600',
bold: '700',
heavy: '800',
extraheavy: '900'
};
const defaultTheme = {
fontSize: {
h1: 32,
h2: 24,
h3: 20,
h4: 16,
h5: 14,
h6: 12,
h7: 10,
h8: 8
},
fontWeight: weights.normal,
fontFamily: undefined,
weights,
spacer: {
xs: 10,
s: 14,
m: 18,
l: 22,
xl: 26
},
colors: {
brand: '#28D9AA',
background: '#FFF',
text: '#000'
},
isDark: false
};
const darkTheme = {
...defaultTheme,
colors: {
brand: '#28D9AA',
background: '#000',
text: '#FFF'
},
isDark: true
};
export { defaultTheme };
export default {
activeTheme: 'default',
default: defaultTheme,
dark: darkTheme
};