-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (45 loc) · 1.18 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 = {
darkMode: "class",
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
screens: { sm: "480px", md: "768px", lg: "976px", xl: "1440pd" },
animation: {
fadeIn: "fadeIn 1.5s",
bounce:
"bounce 0.5s alternate cubic-bezier(0.95, 0.05, 0.795, 0.035) infinite",
slideUp: "slideUp 0.5s",
slideUpEaseInOut: "slideUp 0.5s ease-in-out",
slideUpCubiBezier: "slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1)",
},
animationDelay: {
0: "0s",
2: "0.2s",
4: "0.4s",
6: "0.6s",
},
keyframes: {
fadeIn: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideUp: {
from: { transform: "translateY(100%)" },
to: { transform: "translateY(0)" },
},
bounce: {
from: { transform: "translateY(10px)" },
to: { transform: "translateY(0)" },
},
},
},
},
plugins: [],
}