-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
48 lines (48 loc) · 1.45 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
black: '#191624',
'white/4':'rgb(255 255 255 / 0.09)',
'white/5':'rgb(255 255 255 / 0.05)'
},
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)' },
},
},
},
},
};