-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
55 lines (53 loc) · 1.46 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
colors: {
darkBlue: '#344054',
navyBlue: '#294F74',
lightBlue: '#EDF2F5',
lightGray: '#F8F8F8',
mediumBlue1: '#2F5478',
mediumBlue2: '#22405C',
},
animation: {
slideup: 'slideup 0.4s ease-in-out',
slidedown: 'slidedown 0.4s ease-in-out',
slideright: 'slideright 0.3s ease-in-out',
slideleft: 'slideleft 0.3s ease-in-out',
slowfade: 'slowfade 0.2s ease-in-out ',
slowfade2: 'slowfade 1s ease-in-out ',
},
keyframes: {
slowfade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slowfade2: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideup: {
from: { opacity: 0, transform: 'translateY(25%)', },
to: { opacity: 1, transform: 'translateY(0%)' },
},
slidedown: {
from: { opacity: 0, transform: 'translateY(-25%)' },
to: { opacity: 1, transform: 'translateY(0%)' },
},
slideright: {
from: { opacity: 0, transform: 'translateX(25%)' },
to: { opacity: 1, transform: 'translateX(0%)' },
},
slideleft: {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(25%)' },
},
}
},
},
plugins: [],
}