-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
64 lines (62 loc) · 1.49 KB
/
tailwind.config.js
File metadata and controls
64 lines (62 loc) · 1.49 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
'slide-left': 'slideLeft 0.7s ease-out',
},
keyframes: {
slideLeft: {
'0%': { transform: 'translateX(100%)', opacity: 0 },
'100%': { transform: 'translateX(0)', opacity: 1 },
},
},
},
animation: {
'fade-slide': 'fadeSlide 0.6s ease-out both',
},
keyframes: {
fadeSlide: {
'0%': { opacity: 0, transform: 'translateY(20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
},
animation: {
'slide-fade-left': 'slideFadeLeft 0.6s ease-out both',
},
keyframes: {
slideFadeLeft: {
'0%': { opacity: 0, transform: 'translateX(60px)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
},
keyframes: {
typing: {
"0%": {
width: "0%",
visibility: "hidden"
},
"100%": {
width: "100%"
}
},
blink: {
"50%": {
borderColor: "transparent"
},
"100%": {
borderColor: "white"
}
}
},
animation: {
typing: "typing 4s steps(16) alternate, blink 1s infinite"
},
},
plugins: [require("tailwindcss-animate")],
darkMode: 'class', // Enable dark mode support
}