-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
80 lines (78 loc) · 2.26 KB
/
tailwind.config.ts
File metadata and controls
80 lines (78 loc) · 2.26 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
import type { Config } from 'tailwindcss'
const config: Config = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
gold: {
DEFAULT: '#C89B3C',
light: '#E8C96A',
dark: '#8B6B2A',
muted: '#C89B3C33',
},
navy: {
DEFAULT: '#0A0E1A',
card: '#0F1823',
deep: '#0C223F',
border: '#1A2535',
},
teal: {
DEFAULT: '#0596AA',
light: '#07B8CF',
muted: '#0596AA33',
bright: '#4ECDC4',
},
success: '#00D364',
danger: '#FF4444',
text: {
primary: '#E8E0D0',
muted: '#8B929A',
dim: '#4A5568',
},
},
fontFamily: {
sans: ['Exo 2', 'Inter', 'system-ui', 'sans-serif'],
display: ['Rajdhani', 'system-ui', 'sans-serif'],
mono: ['Share Tech Mono', 'JetBrains Mono', 'monospace'],
},
boxShadow: {
gold: '0 0 20px rgba(200, 155, 60, 0.3)',
'gold-lg': '0 0 40px rgba(200, 155, 60, 0.4)',
teal: '0 0 20px rgba(5, 150, 170, 0.3)',
card: '0 4px 24px rgba(0, 0, 0, 0.4)',
},
animation: {
'pulse-gold': 'pulse-gold 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'fade-in': 'fade-in 0.3s ease-out',
'slide-up': 'slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
float: 'float 3s ease-in-out infinite',
scanline: 'scanline 8s linear infinite',
},
keyframes: {
'pulse-gold': {
'0%, 100%': { boxShadow: '0 0 20px rgba(200, 155, 60, 0.3)' },
'50%': { boxShadow: '0 0 40px rgba(200, 155, 60, 0.6)' },
},
'fade-in': {
from: { opacity: '0' },
to: { opacity: '1' },
},
'slide-up': {
from: { opacity: '0', transform: 'translateY(16px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-6px)' },
},
scanline: {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(100vh)' },
},
},
},
},
plugins: [],
}
export default config