-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
37 lines (37 loc) · 1.08 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
fontFamily: {
sans: ["Inter", "sans-serif"],
serif: ["Helvetica", "serif"],
},
extend: {
animation: {
enter: "enter 250ms ease-in-out both",
leave: "leave 250ms ease-in-out both",
"enter-right": "enterRight 500ms ease-in-out both",
"enter-left": "enterLeft 500ms ease-in-out both",
},
keyframes: {
enter: {
from: { opacity: "0", transform: "translate3d(0, -20%, 0)" },
to: { opacity: "1", transform: "translate3d(0, 0, 0)" },
},
leave: {
from: { opacity: "1", transform: "translate3d(0, 0, 0)" },
to: { opacity: "0", transform: "translate3d(0, -20%, 0)" },
},
enterRight: {
from: { opacity: "0", transform: "translate3d(-30%, 0, 0)" },
to: { opacity: "1", transform: "translate3d(0, 0, 0)" },
},
enterLeft: {
from: { opacity: "0", transform: "translate3d(30%, 0, 0)" },
to: { opacity: "1", transform: "translate3d(0, 0, 0)" },
},
},
},
},
plugins: [],
}