-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
61 lines (56 loc) · 1.48 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
// 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: {
// colors: {
// background: "var(--background)",
// foreground: "var(--foreground)",
// },
// },
// },
// plugins: [],
// };
// export default config;
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: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
keyframes: {
gradient: {
'0%': { backgroundPosition: '0% 50%' },
'33%': { backgroundPosition: '100% 50%' },
'66%': { backgroundPosition: '50% 0%' },
'100%': { backgroundPosition: '0% 50%' },
},
slide: {
'0%, 100%': { transform: 'translateY(0)' },
'33%': { transform: 'translateY(-100%)' },
'66%': { transform: 'translateY(-200%)' },
},
},
animation: {
'gradient-move': 'gradient 10s ease infinite',
'slide-words': 'slide 6s ease-in-out infinite',
},
backgroundSize: {
'size-200': '200% 200%',
},
},
},
plugins: [],
};
export default config;