-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.ts
73 lines (70 loc) · 1.15 KB
/
theme.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
64
65
66
67
68
69
70
71
72
73
const colors = {
primary: '#ffec3e',
black: '#121212',
gray1: '#1f1f1f',
gray2: '#272727',
gray3: '#3a3a3b',
gray4: '#7f7f7f',
gray5: '#a6a6a6',
gray6: '#bfbfbf',
gray7: '#ffffff',
white: '#f2f2f2',
red: '#df3c3c',
kakao: '#fdd902',
} as const;
const fonts = {
h1: `
font-size: 2.4rem;
font-weight: bold;
`,
h2: `
font-size: 2rem;
font-weight: bold;
`,
h3: `
font-size: 1.8rem;
font-weight: bold;
`,
h4: `
font-size: 1.6rem;
font-weight: 500;
`,
h5: `
font-size: 1.4rem;
font-weight: bold;
`,
h6: `
font-size: 1.4rem;
font-weight: 500;
`,
subtitle1: `
font-size: 2.4rem;
font-weight: 500;
line-height: 144%;
`,
body: `
font-size: 1.4rem;
font-weight: 500;
line-height: 170%;
`,
caption1: `
font-size: 1.2rem;
font-weight: 500;
`,
caption2: `
font-size: 1.2rem;
font-weight: bold;
`,
btn1: `
font-size: 1.6rem;
font-weight: bold;
line-height: 1.8rem;
`,
btn2: `
font-size: 1.4rem;
font-weight: 500;
line-height: 1.6rem;
`,
} as const;
const theme = { colors, fonts };
export default theme;