-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
40 lines (40 loc) · 1.24 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
fantasy: {
primary: '#9333EA',
secondary: '#EC4899',
accent: '#8B5CF6',
dark: '#0F172A',
},
},
backgroundImage: {
'fantasy-gradient': 'linear-gradient(to right bottom, rgba(15, 23, 42, 0.9), rgba(88, 28, 135, 0.9))',
'magical-pattern': "url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80')",
},
animation: {
'float': 'float 6s ease-in-out infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
'shimmer': 'shimmer 2s ease-in-out infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
glow: {
'0%': { boxShadow: '0 0 5px rgba(147, 51, 234, 0.5)' },
'100%': { boxShadow: '0 0 20px rgba(147, 51, 234, 0.8)' },
},
shimmer: {
'0%': { backgroundPosition: '-200% center' },
'100%': { backgroundPosition: '200% center' },
},
},
},
},
plugins: [],
};