-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
225 lines (224 loc) · 6.74 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
const colors = require('tailwindcss/colors')
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./mintflow/**/*.{js,ts,jsx,tsx}',
'node_modules/daisyui/dist/**/*'
],
theme: {
screens: {
sm: '980px',
md: '1023px',
lg: '1024px',
xl: '1900px',
},
extend: {
cursor: {
auto: 'auto',
default: 'default',
pointer: 'pointer',
wait: 'wait',
text: 'text',
move: 'move',
'not-allowed': 'not-allowed',
crosshair: 'crosshair',
'zoom-in': 'zoom-in',
'zoom-out': 'zoom-out',
},
colors: {
black: colors.black,
gold: 'conic-gradient(from 90deg at 50% 50%, #e3a455, #f6dba6, #ffebc3, #f0be79, #8f653b, #ba7f3b, #eebc70)',
}
},
dropShadow: {
default: '0 2px 2px rgb(41, 41, 41, 0.35)',
md: '0 2px 2px rgb(41, 41, 41, 0.35)',
nav: '0 2px 2px rgba(41, 41, 41, 0.35)',
mg: 'rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(28, 15, 125, 0.06) 0px 18px 24px 0px',
no: ' 0 0 rgba(0, 0, 0, 0)',
},
animation: {
'fade-in': 'fade-in 0.5s linear forwards',
marquee: 'marquee var(--marquee-duration) linear infinite',
'spin-slow': 'spin 4s linear infinite',
'spin-slower': 'spin 6s linear infinite',
'spin-reverse': 'spin-reverse 1s linear infinite',
'spin-reverse-slow': 'spin-reverse 4s linear infinite',
'spin-reverse-slower': 'spin-reverse 6s linear infinite',
},
keyframes: {
'fade-in': {
from: {
opacity: 0,
},
to: {
opacity: 1,
},
},
marquee: {
'100%': {
transform: 'translateY(-50%)',
},
},
'spin-reverse': {
to: {
transform: 'rotate(-360deg)',
},
},
},
boxShadow: {
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
'3xl': '0 35px 60px -15px rgba(0, 0, 0, 0.3)',
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
mg: 'rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(28, 15, 125, 0.06) 0px 18px 24px 0px',
mgXL: 'rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(28, 15, 125, 0.1) 0px 36px 48px 0px',
mgs: 'rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(28, 15, 125, 0.06) 0px 4px 6px 0px',
elevationSmall: '0.5px 0.5px 4px hsl(0 0% 0% / 0.01), 1.7px 1.6px 8px -0.7px hsl(0 0% 0% / 0.015);',
elevationMedium: ' 0.5px 0.5px 1px hsl(0 0% 0% / 0.02), 2.7px 2.6px 5.2px -0.4px hsl(0 0% 0% / 0.025), 8.3px 7.9px 16px -0.7px hsl(0 0% 0% / 0.03);',
elevationHigh: ' 0.5px 0.5px 1px hsl(0 0% 0% / 0.03), 5px 4.8px 9.7px -0.2px hsl(0 0% 0% / 0.03), 10px 9.5px 19.2px -0.4px hsl(0 0% 0% / 0.03), 18.5px 17.6px 35.6px -0.5px hsl(0 0% 0% / 0.03), 33.7px 32px 64.8px -0.7px hsl(0 0% 0% / 0.03);',
},
textFillColor: (theme) => theme('borderColor'),
textStrokeColor: (theme) => theme('borderColor'),
textstrokeWidth: (theme) => theme('borderWidth'),
paintOrder: {
fsm: { paintOrder: 'fill stroke markers' },
fms: { paintOrder: 'fill markers stroke' },
sfm: { paintOrder: 'stroke fill markers' },
smf: { paintOrder: 'stroke markers fill' },
mfs: { paintOrder: 'markers fill stroke' },
msf: { paintOrder: 'markers stroke fill' },
},
extend: {
backgroundImage: {
'leaderboard': "url('/leaderboard-bg.png')",
'top-blur': "url('/dfame-bg.svg')",
'bubble': "url('/bubblebg.svg')",
cta: "url('/login.jpg')",
mint: "url('/bg-mint.svg')",
'mint-second': "url('/mintbgsecond.svg')",
noise: "url('/noise.png')",
main: "url('/main.png')",
alternative: "url('/alternative.png')",
card1: "url('/card-1.svg')",
card2: "url('/card-2.svg')",
card3: "url('/card-3.svg')",
'heroimage-dev': "url('/hero-image-dev.svg')",
ticket: "url('/ticket.svg')",
ticket2: "url('/ticket2.svg')",
},
animation: {
pulse: 'pulse 4s infinite',
},
screens: {
tablet: '768px',
},
margin: {
14: '3.5rem',
},
height: {
'112': '26rem',
'120': '30rem',
'128': '32rem',
'130': '34rem',
'144': '38rem',
'182': '48rem',
'60vh': '60vh',
},
saturate: {
25: '.25',
75: '.75',
105: '1.05',
115: '1.15',
125: '1.25',
},
brightness: {
25: '.25',
80: '.80',
85: '.85',
90: '.90',
175: '1.75',
},
scale: {
98: '0.98',
99: '0.99',
101: '1.01',
102: '1.02',
103: '1.03',
105: '1.05',
110: '1.1',
120: '1.2',
},
transitionDuration: {
'400': '400ms',
},
maxHeight: {
0: '0',
'1/4': '25%',
'1/2': '50%',
10: '10vh',
15: '15vh',
20: '20vh',
50: '50vh',
55: '55vh',
60: '60vh',
65: '65vh',
70: '70vh',
75: '75vh',
80: '80vh',
90: '90vh',
'3/4': '75%',
full: '100%',
'1/6': '16.666667%',
'2/6': '33.333333%',
'3/6': '50%',
'4/6': '66.666667%',
'5/6': '83.333333%',
},
minHeight: {
0: '0',
40: '40vh',
50: '50vh',
55: '55vh',
60: '60vh',
65: '65vh',
70: '70vh',
80: '80vh',
90: '90vh',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
full: '100%',
screen: '100vh',
},
maxWidth: {
'8xl': '95rem',
},
aspectRatio: {
'4/3': '4 / 3',
'2/3': '2/3',
},
},
},
variants: {
scrollSnapType: ['responsive'],
textFillColor: ['responsive'],
textStrokeColor: ['responsive'],
textstrokeWidth: ['responsive'],
paintOrder: ['responsive'],
isolation: ['responsive'],
scale: ['group-hover'],
textColor: ['visited'],
},
plugins: [
require('@tailwindcss/typography'),
require("daisyui"),
require('tailwindcss-text-fill-stroke')(),
],
};