-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
53 lines (53 loc) · 1.66 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
keyframes: {
slideInRight: {
'0%': { transform: 'translateX(100%)', opacity: 0 },
'100%': { transform: 'translateX(0)', opacity: 1 },
},
slideInLeft: {
'0%': { transform: 'translateX(-100%)', opacity: 0 },
'100%': { transform: 'translateX(0)', opacity: 1 },
},
slideInTop: {
'0%': { transform: 'translateY(-100%)', opacity: 0 },
'100%': { transform: 'translateY(0)', opacity: 1 },
},
slideInBottom: {
'0%': { transform: 'translateY(100%)', opacity: 0 },
'100%': { transform: 'translateY(0)', opacity: 1 },
},
slideOutRight: {
'0%': { transform: 'translateX(0)', opacity: 1 },
'100%': { transform: 'translateX(100%)', opacity: 0 },
},
pulseOnce: {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0.5 },
},
},
animation: {
'pulse-once': 'pulseOnce 1s ease-out 1',
'slide-in-right': 'slideInRight 0.5s ease-out forwards',
'slide-in-left': 'slideInLeft 0.5s ease-out forwards',
'slide-in-top': 'slideInTop 0.5s ease-out forwards',
'slide-out-right':'slideOutRight 0.5s ease-in forwards',
'slide-in-bottom': 'slideInBottom 0.5s ease-out forwards',
},
colors: {
'login-color': "#565ABD",
'sign-color':"#FBF3B2",
'landing-color':'#345962',
'quiz-color':'#6F313D'
},
},
},
plugins: [
require('tailwind-scrollbar'),
],
}