-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
65 lines (65 loc) · 1.88 KB
/
tailwind.config.js
File metadata and controls
65 lines (65 loc) · 1.88 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'./src/components/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'./src/layouts/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'./src/pages/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8'
},
dark: {
900: '#0f172a',
800: '#1e293b',
700: '#334155',
600: '#475569'
}
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif']
},
animation: {
'fade-in': 'fadeIn 1s ease-in-out forwards',
'slide-up': 'slideUp 0.8s ease-out forwards',
gradient: 'gradientShift 8s ease infinite',
float: 'float 6s ease-in-out infinite',
'pulse-glow': 'pulseGlow 2s ease-in-out infinite alternate'
},
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(30px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
},
gradientShift: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' }
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' }
},
pulseGlow: {
from: {
boxShadow: '0 0 20px rgba(139, 92, 246, 0.3)'
},
to: {
boxShadow: '0 0 30px rgba(139, 92, 246, 0.6)'
}
}
}
}
},
plugins: []
}