-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
54 lines (50 loc) · 984 Bytes
/
tailwind.config.cjs
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
const forms = require('@tailwindcss/forms');
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
container: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px'
}
},
extend: {
keyframes: {
sway: {
'0%, 100%': {
transform: 'rotate(-3deg)'
},
'50%': {
transform: 'rotate(3deg)'
}
},
bounceslow: {
'0%, 100%': {
transform: 'translateY(-15%)',
'animation-timing-function': 'cubic-bezier(0.8,0,1,1)'
},
'50%': {
transform: 'none',
'animation-timing-function': 'cubic-bezier(0,0,0.2,1)'
}
},
scrolltext: {
'0%': {
transform: 'translateX(100%)'
},
'100%': {
transform: 'translateX(-100%)'
}
}
},
animation: {
sway: 'sway 2s ease-in-out infinite',
bouncelow: 'bounceslow .75s infinite',
scrolltext: 'scrolltext 20s linear infinite'
}
}
},
plugins: [forms]
};
module.exports = config;