-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
81 lines (81 loc) · 2.74 KB
/
Copy pathtailwind.config.js
File metadata and controls
81 lines (81 loc) · 2.74 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
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
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,jsx}'],
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
},
colors: {
surface: {
DEFAULT: '#0a0a0f',
50: '#12121a',
100: '#16161f',
200: '#1c1c27',
300: '#23232f',
400: '#2a2a38',
},
accent: {
DEFAULT: '#6366f1',
light: '#818cf8',
dark: '#4f46e5',
glow: 'rgba(99, 102, 241, 0.15)',
},
violet: {
DEFAULT: '#8b5cf6',
light: '#a78bfa',
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-accent': 'linear-gradient(135deg, #6366f1, #8b5cf6)',
'gradient-accent-hover': 'linear-gradient(135deg, #818cf8, #a78bfa)',
'gradient-subtle': 'linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1))',
'gradient-border': 'linear-gradient(135deg, rgba(99,102,241,0.3), rgba(139,92,246,0.3))',
},
boxShadow: {
glow: '0 0 40px rgba(99, 102, 241, 0.15)',
'glow-lg': '0 0 80px rgba(99, 102, 241, 0.2)',
card: '0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2)',
'card-hover': '0 10px 40px rgba(0,0,0,0.4), 0 0 40px rgba(99, 102, 241, 0.1)',
},
animation: {
'fade-in': 'fadeIn 0.8s ease-out forwards',
'fade-in-up': 'fadeInUp 0.8s ease-out forwards',
'fade-in-down': 'fadeInDown 0.6s ease-out forwards',
'scale-in': 'scaleIn 0.6s ease-out forwards',
float: 'float 6s ease-in-out infinite',
pulse_slow: 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'gradient-shift': 'gradientShift 8s ease infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(30px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
fadeInDown: {
'0%': { opacity: '0', transform: 'translateY(-20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.95)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
gradientShift: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
},
},
},
plugins: [],
};