-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
37 lines (37 loc) · 1.06 KB
/
Copy pathtailwind.config.js
File metadata and controls
37 lines (37 loc) · 1.06 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
animation: {
"fade-in": "fade-in 0.3s ease-out",
"fade-in-down": "fade-in-down 0.3s ease-out",
"slide-in": "slide-in 0.5s ease-out",
},
keyframes: {
"fade-in": {
"0%": { opacity: "0", transform: "translateY(10px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
"fade-in-down": {
"0%": { opacity: "0", transform: "translate(-50%, -10px)" },
"100%": { opacity: "1", transform: "translate(-50%, 0)" },
},
"slide-in": {
"0%": { opacity: "0", transform: "translateX(100%)" },
"100%": { opacity: "1", transform: "translateX(0)" },
},
},
},
},
plugins: [],
};