-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
89 lines (89 loc) · 2.61 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{html,jsx,js}",
],
theme: {
extend: {
backgroundImage: {
'gradient-custom': 'linear-gradient(45deg, #000000, #333333)',
},
backdropBlur: {
xs: '2px',
sm: '4px',
md: '6px',
lg: '8px',
xl: '10px',
},
backdropBrightness: {
90: '90%',
75: '75%',
},
backdropContrast: {
90: '90%',
75: '75%',
},
backdropSaturate: {
90: '90%',
75: '75%',
},
backgroundImage: {
'gradient-moving': 'linear-gradient(45deg, #003300, #000000)',
},
keyframes: {
slideInLeft: {
'0%': { transform: 'translateX(-100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
slideInRight: {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideLeft: {
'0%': { transform: 'translateX(100%)' },
'100%': { transform: 'translateX(-100%)' },
},
slideRight: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
floatUp: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-8px)' },
},
floatDown: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(8px)' },
},
pings: {
'0%': { opacity: '0' },
'75%, 100%': { transform: 'scale(1.3)' },
'100%': { transform: 'translateX(-550px) translateY(-380px)' },
},
'gradient-move': {
'0%': { backgroundPosition: '0% 0%' },
'100%': { backgroundPosition: '100% 100%' },
},
},
animation: {
slideInLeft: 'slideInLeft 0.5s ease-out forwards',
slideInRight: 'slideInRight 0.5s ease-out forwards',
fadeIn: 'fadeIn 1s ease-out forwards',
slideLeft: 'slideLeft 15s linear infinite',
slideRight: 'slideRight 15s linear infinite',
floatUp: 'floatUp 1.5s ease-in-out infinite',
floatDown: 'floatDown 1.5s ease-in-out infinite',
pings: 'pings 2s cubic-bezier(0, 0, 0.2, 1) infinite',
'gradient-moving': 'gradient-move 10s linear infinite',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-filters'),
],
};