-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
70 lines (70 loc) · 1.67 KB
/
Copy pathtailwind.config.js
File metadata and controls
70 lines (70 loc) · 1.67 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,svelte}', './*.html'],
theme: {
extend: {
spacing: {
'4.5': '1.125rem', // 18px
'15': '3.75rem' // 60px
},
colors: {
primary: {
500: '#e74c3c',
600: '#c0392b'
}
},
animation: {
'fade-in': 'fade-in 0.3s ease-in',
'fade-out': 'fade-out 0.3s ease-out',
'scale-in': 'scale-in 0.3s ease-in',
'scale-out': 'scale-out 0.3s ease-out',
'slide-in': 'slideIn 0.3s ease'
},
keyframes: {
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
'fade-out': {
'0%': { opacity: '1' },
'100%': { opacity: '0' }
},
'scale-in': {
'0%': {
opacity: '0',
transform: 'scale(0.9) translateY(-10px)'
},
'100%': {
opacity: '1',
transform: 'scale(1) translateY(0)'
}
},
'scale-out': {
'0%': {
opacity: '1',
transform: 'scale(1) translateY(0)'
},
'100%': {
opacity: '0',
transform: 'scale(0.9) translateY(-10px)'
}
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
slideIn: {
'0%': {
opacity: '0',
transform: 'scale(0.8) translateY(-20px)'
},
'100%': {
opacity: '1',
transform: 'scale(1) translateY(0)'
}
}
}
}
},
plugins: []
};