-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
50 lines (48 loc) · 1.26 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
container: {
center: true,
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
},
extend: {
transitionProperty: {
'bg': 'background-image',
},
},
keyframes: {
slideDown: {
'0%': { transform: 'translateY(-100%)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideRight: {
'0%': { transform: 'translateX(-100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(100%)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideLeft: {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
},
animation: {
slideDown: 'slideDown 1s ease-in-out',
slideRight: 'slideRight 2s ease-in-out',
slideUp: 'slideUp 1s ease-in-out',
slideLeft: 'slideLeft 2s ease-in-out',
},
},
plugins: [
require('daisyui'),
],
};
export default config;