-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
92 lines (92 loc) · 2 KB
/
tailwind.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
module.exports = {
mode: 'jit',
content: ['./src/**/*.{js,jsx,ts,tsx,css}'],
theme: {
colors: {
black: '#202125',
white: '#FAFAFF',
grey: {
1: '#29293D',
2: '#52537A',
3: '#8586AD',
4: '#C2C2D6',
5: '#EDEDF3',
},
blue: {
1: '#171A82',
2: '#1F23AD',
3: '#5256E0',
4: '#7D80E8',
},
yellow: {
1: '#664E00',
2: '#CC9C00',
3: '#FFCF33',
4: '#FFDB66',
},
red: {
1: '#5C0A0A',
2: '#B81414',
3: '#EB4747',
4: '#F07575',
},
green: {
1: '#125422',
2: '#24A845',
3: '#57DB78',
4: '#81E49A',
}
},
fontFamily: {
text: ['"Roboto Mono"'],
game: ['"Press Start 2P"']
},
fontSize: {
'2xs': ['8px', {
lineHeight: '12px',
letterSpacing: '-.04em',
}],
'xs': ['10px', {
lineHeight: '14px',
letterSpacing: '-.04em',
}],
'sm': ['12px', {
lineHeight: '16px',
letterSpacing: '-.04em',
}],
'base': ['14px', {
lineHeight: '18px',
letterSpacing: '-.04em',
}],
't2xs': ['8px', '14px'],
'txs': ['10px', '16px'],
'tsm': ['12px', '18px'],
'tbase': ['14px', '20px'],
'tlg': ['16px', '22px'],
'txl': ['20px', '26px'],
't2xl': ['24px', '32px'],
't8xl': ['48px', '56px'],
},
screens: {
'sm': '360px',
'md': '768px',
'lg': '1024px',
},
extend: {
keyframes: {
'drawer-right': {
'0%': { transform: 'translateX(540px)' },
'100%': { transform: 'translateX(0px)' },
},
'drawer-bottom': {
'0%': { transform: 'translateY(950px)' },
'100%': { transform: 'translateY(0px)' },
}
},
animation: {
'drawer-right': 'drawer-right .3s ease-in-out',
'drawer-bottom': 'drawer-bottom .3s ease-in-out',
}
}
},
}