-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
54 lines (53 loc) · 1.73 KB
/
Copy pathtailwind.config.ts
File metadata and controls
54 lines (53 loc) · 1.73 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
53
54
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: {
customBlue: "#0F172A",
},
animation: {
'gradientMove': 'gradientMove 10s ease infinite',
'fadeInUp': 'fadeInUp 0.8s ease-out',
'fadeInRight': 'fadeInRight 0.8s ease-out 0.2s both',
'textGlow': 'textGlow 3s ease-in-out infinite',
'gradientText': 'gradientText 3s linear infinite',
'float': 'float 3s ease-in-out infinite',
},
keyframes: {
gradientMove: {
'0%': { backgroundPosition: '50% 50%' },
'50%': { backgroundPosition: '75% 50%' },
'100%': { backgroundPosition: '50% 50%' },
},
fadeInUp: {
from: { opacity: '0', transform: 'translateY(30px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
fadeInRight: {
from: { opacity: '0', transform: 'translateX(30px)' },
to: { opacity: '1', transform: 'translateX(0)' },
},
textGlow: {
'0%, 100%': { textShadow: '0 0 20px rgba(255, 255, 255, 0.1)' },
'50%': { textShadow: '0 0 30px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1)' },
},
gradientText: {
'0%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
'100%': { backgroundPosition: '0% 50%' },
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-10px)' },
},
},
},
},
plugins: [],
};
export default config;