-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
40 lines (39 loc) · 1.07 KB
/
tailwind.config.ts
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
/** @type {import('tailwindcss').Config} */
import colors from "./src/themes/colors";
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
important: "#root",
theme: {
extend: {
colors: {
...colors,
},
keyframes: {
slide: {
"0%": { transform: "translate(-100%)" },
"100%": { transform: "translate(0px)" },
},
slideinRight: {
"0%": { transform: "translate(100%)" },
"100%": { transform: "translate(0px)" },
},
slideDown: {
"0%": { transform: "translateY(-100%)" },
"100%": { transform: "translateY(0)" },
},
slideUp: {
"0%": { transform: "translateY(100%)" },
"100%": { transform: "translateY(0)" },
},
},
animation: {
slidein: "slide 0.2s ease-out",
slideOut: "slide 0.2s ease-in reverse",
slideinRight: "slideinRight 0.2s ease-out",
slideDown: "slideDown 0.2s ease-out",
slideUp: "slideUp 0.2s ease-out",
},
},
},
plugins: [],
};