-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
79 lines (77 loc) · 2.24 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
module.exports = {
mode: 'jit',
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}'
],
darkMode: 'media', // or 'media' or 'class'
theme: {
extend: {
zIndex: {
'-10': '-10'
},
backdropBlur: {
xs: '2px'
},
boxShadow: {
sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
DEFAULT:
'0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
mdGreen:
'0 4px 6px -1px rgb(34 128 90 / 27%), 0 2px 4px -1px rgb(0 0 0 / 6%)',
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)',
none: 'none'
},
minWidth: {
xs: '360px'
},
keyframes: {
beat: {
'0%, 100%': { transform: 'scale(0.9)' },
'50%': { transform: 'scale(1.1)' }
},
infiniteXSlide: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(400%)' }
},
slidBottom: {
'0%': {
transform: 'translateY(1000px)',
opacity: 0
},
' 100%': {
transform: 'translateY(0)',
opacity: 1
}
}
},
animation: {
beat: 'beat 1s ease-in-out infinite',
infiniteXSlide: 'infiniteXSlide 1.5s linear infinite',
slidBottom:
'slidBottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both'
},
backgroundImage: () => ({
'healthy-food': "url('/healthy-food-bg.jpg')",
'healthy-burger': "url('/healthy-burger-bg.jpg')",
'dot-pattern': "url('/dot-pattern-bg.jpg')",
'figures-pattern': "url('/figures-pattern.png')"
})
}
},
variants: {
extend: {
// ...
animation: ['hover', 'focus'],
zIndex: ['hover', 'active'],
backdropBlur: ['hover', 'focus'],
display: ['group-hover']
}
},
plugins: []
}