-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
85 lines (84 loc) · 2.27 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
gradientColorStops: {
"gradient-1-start": "#007CF0",
"gradient-1-end": "#00DFD8",
// "gradient-2-start": "#7928CA",
// "gradient-2-end": "#FF0080",
"gradient-2-start": "#FF4D4D",
"gradient-2-end": "#F9CB28",
},
keyframes: {
"gradient-foreground-1": {
"from, 16.667%, to": {
opacity: "1",
},
"33.333%, 83.333%": {
opacity: "0",
},
},
"gradient-background-1": {
"from, 16.667%, to": {
opacity: "0",
},
"25%, 91.667%": {
opacity: "1",
},
},
"gradient-foreground-2": {
"from, to": {
opacity: "0",
},
"33.333%, 76%": {
opacity: "1",
},
"16.667%, 96.667%": {
opacity: "0",
},
},
"gradient-background-2": {
"from, to": {
opacity: "1",
},
"33.333%, 50%": {
opacity: "0",
},
"25%, 58.333%": {
opacity: "1",
},
},
"gradient-foreground-3": {
"from, 50%, to": {
opacity: "0",
},
"66.667%, 83.333%": {
opacity: "1",
},
},
},
animation: {
"gradient-background-1": "gradient-background-1 8s infinite",
"gradient-foreground-1": "gradient-foreground-1 8s infinite",
"gradient-background-2": "gradient-background-2 8s infinite",
"gradient-foreground-2": "gradient-foreground-2 8s infinite",
// "gradient-background-3": "gradient-background-3 8s infinite",
// "gradient-foreground-3": "gradient-foreground-3 8s infinite",
},
},
},
plugins: [],
darkMode: "class",
};
export default config;