-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
167 lines (164 loc) · 4 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
module.exports = {
// future: {
// removeDeprecatedGapUtilities: false,
// },
purge: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
xxl: { min: '1400px' },
'2xxl': { min: '1599px' },
},
boxShadow: {
header: '0 2px 4px rgba(0,0,0,0.12)',
mobile: '0 0px 2px rgba(0,0,0,0.12)',
counter: '0 2px 4px rgba(0,32,25,0.06)',
cart: '0 3px 6px rgba(0,0,0,0.12)',
navigation: '0 3px 6px rgba(0, 0, 0, 0.16)',
footer: '3px 0 6px rgba(0,0,0,0.12)',
float: '0 0 6px rgba(0,0,0,0.12)',
floatBig: '0 0 10px rgba(0,0,0,0.16)',
floatingUp: '0 5px 10px rgba(0,0,0,0.16)',
upside: '0 9px 7px -8px rgba(0,0,0,0.6)',
imgFloat: '0 10px 10px rgba(0,0,0,0.16)',
xs: '0 0 0 1px rgba(0, 0, 0, 0.05)',
outline: '0 0 0 3px rgba(66, 153, 225, 0.5)',
},
fontFamily: {
open: ['Open Sans'],
},
fontSize: {
'11px': '11px',
'12px': '12px',
'13px': '13px',
'14px': '14px',
'16px': '16px',
'18px': '18px',
'21px': '21px',
'24px': '24px',
'30px': '30px',
'36px': '36px',
},
// Extend
extend: {
colors: {
green: '#209F85',
'green-hover': '#1E957C',
'green-light': 'rgba(32,159,133, 0.3)',
error: '#ff5b60',
'gray-f7': '#f7f7f7',
'gray-3a': '#3a3a3a',
'light-yellow': '#feeec8',
'light-blue': '#ceeffe',
'light-green': '#d4f8c4',
'light-purple': '#d8dafe',
overlay: 'rgba(0,0,0,0.7)',
dark: '#212121',
gray: {
100: '#f9f9f9',
200: '#f3f3f3', // Light BG
300: '#F1F1F1', // Border
400: '#D5D5D5', // Border Alt
500: '#999999', // Light Text
600: '#757575',
700: '#5A5A5A', // Normal Text
800: '#424242',
900: '#212121', // Heavy Text
},
},
lineHeight: {
11: '2.75rem',
12: '3rem',
},
width: {
'main-content': 'calc(100% - 360px)',
sidebar: '360px',
},
maxWidth: {
half: '50%',
},
height: {
drawer: 'calc(100vh - 90px)',
},
gridColumnStart: {
'40px': '40px',
},
gridRowEnd: {},
spacing: {
9: '2.25rem',
11: '2.75rem',
14: '3.5rem',
'3px': '3px',
'5px': '5px',
'10px': '10px',
'15px': '15px',
'18px': '18px',
'20px': '20px',
'30px': '30px',
'35px': '35px',
'40px': '40px',
'45px': '45px',
'50px': '50px',
'60px': '60px',
'70px': '70px',
'80px': '80px',
'90px': '90px',
'95px': '95px',
'100px': '100px',
'105px': '105px',
'120px': '120px',
'146px': '146px',
'240px': '240px',
'320px': '320px',
'360px': '360px',
'480px': '480px',
'580px': '580px',
'650px': '650px',
'1440px': '1440px',
},
inset: {
8: '2rem',
9: '2.25rem',
14: '3.5rem',
half: '50%',
'10px': '10px',
'15px': '15px',
'20px': '20px',
'25px': '25px',
'30px': '30px',
'35px': '35px',
'40px': '40px',
'60px': '60px',
'62px': '62px',
'90px': '90px',
},
borderRadius: {
default: '6px',
'10px': '10px',
'20px': '20px',
'30px': '30px',
},
borderWidth: {
'3px': '3px',
},
borderColor: (theme) => ({
...theme('colors'),
default: theme('colors.gray.200', 'currentColor'),
}),
transitionDuration: {
250: '250ms',
350: '350ms',
},
},
container: {},
},
// Variants
variants: {
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
borderWidth: ['responsive', 'last', 'hover', 'focus'],
padding: ['responsive, odd, even'],
},
};