-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
52 lines (51 loc) · 1.42 KB
/
Copy pathtailwind.config.ts
File metadata and controls
52 lines (51 loc) · 1.42 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
dark: {
100: "#1a1a1a",
200: "#141414",
300: "#0a0a0a",
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
animation: {
"fade-in": "fadeIn 0.6s ease-in forwards",
"slide-up": "slideUp 0.8s ease-out forwards",
glow: "glow 3s ease-in-out infinite alternate",
blink: "blink 1s step-end infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideUp: {
"0%": { transform: "translateY(30px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
glow: {
"0%, 100%": { boxShadow: "0 0 20px rgba(147, 51, 234, 0.5)" },
"50%": { boxShadow: "0 0 40px rgba(147, 51, 234, 0.8)" },
},
blink: {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0" },
},
},
},
},
plugins: [],
};
export default config;