-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
114 lines (114 loc) · 4.03 KB
/
tailwind.config.js
File metadata and controls
114 lines (114 loc) · 4.03 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
legal: {
navy: '#1a237e',
'navy-light': '#283593',
'navy-dark': '#0d1557',
gold: '#c9a227',
'gold-light': '#d4b84a',
'gold-dark': '#9e7e1a',
cream: '#faf8f5',
'cream-dark': '#f0ebe3',
},
dark: {
bg: '#0f1419',
card: '#1a1f2e',
border: '#2d3548',
text: '#e7e9ea',
muted: '#8b98a5',
}
},
fontFamily: {
serif: ['Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
mono: ['"JetBrains Mono"', 'Consolas', 'Monaco', 'monospace'],
},
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
'fade-in-up': 'fadeInUp 0.6s ease-out',
'fade-in-down': 'fadeInDown 0.4s ease-out',
'slide-in-left': 'slideInLeft 0.5s ease-out',
'slide-in-right': 'slideInRight 0.5s ease-out',
'scale-in': 'scaleIn 0.3s ease-out',
'bounce-soft': 'bounceSoft 2s ease-in-out infinite',
'pulse-glow': 'pulseGlow 2s ease-in-out infinite',
'shimmer': 'shimmer 2s linear infinite',
'float': 'float 3s ease-in-out infinite',
'spin-slow': 'spin 3s linear infinite',
'wiggle': 'wiggle 1s ease-in-out infinite',
'progress': 'progress 1.5s ease-in-out infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
fadeInDown: {
'0%': { opacity: '0', transform: 'translateY(-20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideInLeft: {
'0%': { opacity: '0', transform: 'translateX(-20px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
slideInRight: {
'0%': { opacity: '0', transform: 'translateX(20px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.9)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
bounceSoft: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-5px)' },
},
pulseGlow: {
'0%, 100%': { boxShadow: '0 0 5px rgba(26, 35, 126, 0.3)' },
'50%': { boxShadow: '0 0 20px rgba(26, 35, 126, 0.6)' },
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
float: {
'0%, 100%': { transform: 'translateY(0) rotate(0deg)' },
'50%': { transform: 'translateY(-10px) rotate(5deg)' },
},
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
progress: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'shimmer': 'linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent)',
},
boxShadow: {
'glow': '0 0 20px rgba(26, 35, 126, 0.3)',
'glow-gold': '0 0 20px rgba(201, 162, 39, 0.3)',
'card': '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
'card-hover': '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
'inner-glow': 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
},
backdropBlur: {
xs: '2px',
},
}
},
plugins: []
}