-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.js
54 lines (51 loc) · 962 Bytes
/
theme.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
const colors = {
accent: "#FA754C",
black: "#292934",
white: "#FFFFFF",
gray: "#A7A7A7",
gray2: "#ECEDEF",
button: "#F4F5F7",
};
const sizes = {
base: 14,
font: 14,
welcome: 18,
name: 21,
h1: 50,
button: 16,
};
const fonts = {
welcome: {
fontSize: sizes.welcome,
color: colors.gray,
letterSpacing: -0.6,
lineHeight: sizes.welcome + 4,
},
name: {
fontSize: sizes.name,
fontWeight: "600",
color: colors.black,
letterSpacing: -1.1,
lineHeight: sizes.name + 4,
},
caption: {
fontSize: sizes.welcome,
color: colors.gray,
letterSpacing: -0.6,
lineHeight: sizes.welcome + 4,
},
h1: {
fontSize: sizes.h1,
color: colors.black,
letterSpacing: -10,
lineHeight: sizes.h1,
},
button: {
fontSize: sizes.button,
color: colors.black,
fontWeight: "600",
letterSpacing: -0.4,
lineHeight: sizes.button + 4,
},
};
export { colors, sizes, fonts };