-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
78 lines (78 loc) · 2.57 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
gridTemplateColumns: {
'auto-fill-150': 'repeat(auto-fill, minmax(150px, 1fr))',
'auto-fit-150': 'repeat(auto-fit, minmax(150px, 1fr))',
},
colors: {
black: '#050505',
},
animation: {
slidedown: 'slidedown 0.3s ease-in-out',
slideleft: 'slideleft 0.3s ease-in-out',
slideright: 'slideright 0.5s ease-in-out',
wave: 'wave 0.5s linear infinite',
slowfade: 'slowfade 0.5s ease-in-out',
popin: 'popin 0.5s ease-in-out',
slideup: 'slideup 0.5s ease-in-out',
showmessage: 'showmessage 10s ease',
sliderightfull: 'sliderightfull 1s ease',
slideleftfull: 'slideleftfull 1s ease',
popinslideright: 'popinslideright 1s ease'
},
keyframes: {
slowfade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideup: {
from: { opacity: 0, transform: 'translateY(25%)' },
to: { opacity: 1, transform: 'none' },
},
popin: {
from: {opacity: 0, transform: 'scale(0.8)'},
to: {opacity: 1, transform: 'scale(1)'}
},
slidedown: {
from: { opacity: 0, transform: 'translateY(-25%)' },
to: { opacity: 1, transform: 'none' },
},
slideleft: {
from: { opacity: 0, transform: 'translateX(-20px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
slideright: {
from: { opacity: 0, transform: 'translateX(20px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
popinslideright: {
'0%': { opacity: 0, transform: 'scale(0.5) translateX(75%)' },
'50%': { opacity: 1, transform: 'scale(1) translateX(75%)'},
'100%': { opacity: 1, transform: 'scale(1) translateX(0%)'}
},
wave: {
'0%': { transform: 'scale(0)' },
'50%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0)' },
},
showmessage: {
'0%': { opacity: 0 },
'20%': { opacity: 1},
'80%': { opacity: 1},
'100%': { opacity: 0 }
},
sliderightfull: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(0)' }
},
slideleftfull: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-100%)' }
}
},
},
},
};