-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
144 lines (143 loc) · 2.7 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
const widths = {
xxxs: '320px',
xxs: '380px',
xs: '480px',
sm: '600px',
md: '768px',
lg: '1024px',
xl: '1250px',
};
module.exports = {
mode: 'jit',
future: {
removeDeprecatedGapUtilities: false,
purgeLayersByDefault: false,
},
purge: [
'./components/**/*.{js,ts,tsx}',
'./pages/**/*.{js,ts,tsx}',
// './constants/**/*.{js,ts,tsx}',
'./utils/**/*.{js,ts,tsx}',
],
darkMode: false, // or 'media' or 'class'
theme: {
backgroundColor: theme => ({
...theme('colors'),
white: '#ffffff',
black: '#000000',
gray: {
25: '#F5F5F5',
50: '#dfdcd7',
100: '#bbbebf',
200: '#7a859b',
300: '#6c757d',
400: '#5c6272',
600: '#4c5264',
// 650: '#393E4B',
675: '#30343F',
700: '#262932',
800: '#1d1f26',
900: '#191c22',
950: '#161719',
975: '#131313',
},
purple: {
...theme('colors').purple,
700: '#4b4acf',
},
blue: {
...theme('colors').blue,
400: '#5D5DFF',
},
green: {
...theme('colors').green,
400: '#4ed164',
},
theme: {
main: '#7372f7', // 4B4ACF
},
}),
borderColor: theme => ({
...theme('backgroundColor'),
blue: {
...theme('colors').blue,
},
}),
inset: {
0: 0,
1: '4px',
2: '8px',
3: '12px',
64: '16rem',
},
screens: {
...widths,
},
maxWidth: {
...widths,
},
minWidth: {
...widths,
},
textSize: {
'2xs': '0.625rem',
xs: '0.75rem',
sm: '0.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '2rem',
'4xl': '2.25rem',
},
boxShadow: {
container: '0px 8px 10px rgba(0, 0, 0, 0.14), 0px 3px 14px rgba(0, 0, 0, 0.12), 0px 5px 5px rgba(0, 0, 0, 0.2)',
'elevation-08dp':
'0px 8px 10px rgba(0, 0, 0, 0.14), 0px 3px 14px rgba(0, 0, 0, 0.12), 0px 5px 5px rgba(0, 0, 0, 0.2)',
'elevation-24dp':
'0px 24px 38px rgba(0, 0, 0, 0.14), 0px 9px 46px rgba(0, 0, 0, 0.12), 0px 11px 15px rgba(0, 0, 0, 0.2)',
'elevation-04dp':
'0px 4px 5px rgba(0, 0, 0, 0.14), 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.2)',
none: '0px 0px 0px rgba(0,0,0,0)',
'2xl': '0px 10px 100px 25px rgba(115, 114, 247, 0.75)',
'sm' : '0px 20px 50px 10px rgba(115, 114, 247, 0.50)'
},
zIndex: {
0: 0,
10: 10,
20: 20,
30: 30,
40: 40,
50: 50,
60: 60,
70: 70,
80: 80,
90: 90,
100: 100,
},
extend: {
letterSpacing: {
tightest: '-0.1em',
},
width: {
'128': '28rem'
},
height: {
'128': '42rem'
},
textColor: {
theme: {
main: '#7372f7', // 4B4ACF
},
gray: {
800: '#1d1f26',
},
},
fontFamily: {
// mono: ['SFMono', 'ui-monospace'],
// sans: ['SFMono'],
// serif: ['SFMono'],
},
},
},
};