-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
46 lines (46 loc) · 1.36 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
black: '#191624',
},
animation: {
slideup: 'slideup 1s ease-in-out',
slidedown: 'slidedown 1s ease-in-out',
slideleft: 'slideleft 1s ease-in-out',
slideright: 'slideright 1s ease-in-out',
wave: 'wave 1.2s linear infinite',
slowfade: 'slowfade 2.2s ease-in-out',
},
keyframes: {
slowfade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideup: {
from: { opacity: 0, transform: 'translateY(25%)' },
to: { opacity: 1, transform: 'none' },
},
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)' },
},
wave: {
'0%': { transform: 'scale(0)' },
'50%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0)' },
},
},
},
},
};