-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
88 lines (86 loc) · 2.81 KB
/
tailwind.config.ts
File metadata and controls
88 lines (86 loc) · 2.81 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
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: 'class',
content: ['./app/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './content/**/*.{md,mdx}'],
theme: {
extend: {
colors: {
// Token-mapped semantic colors
base: {
100: 'var(--bg-primary)',
200: 'var(--bg-secondary)',
300: 'var(--bg-tertiary)'
},
text: {
base: 'var(--text-primary)',
secondary: 'var(--text-secondary)',
muted: 'var(--text-muted)'
},
border: {
DEFAULT: 'var(--border-primary)',
subtle: 'var(--border-subtle)',
interactive: 'var(--border-interactive)'
},
accent: {
DEFAULT: 'hsl(var(--accent-primary-h) var(--accent-primary-s) var(--accent-primary-l) / <alpha-value>)',
secondary: 'hsl(var(--accent-secondary-h) var(--accent-secondary-s) var(--accent-secondary-l) / <alpha-value>)'
},
brand: {
DEFAULT: '#0041ff',
foreground: '#f9fafc',
dark: '#10214d'
}
},
borderRadius: {
xs: 'var(--radius-xs)',
sm: 'var(--radius-sm)',
md: 'var(--radius-md)',
lg: 'var(--radius-lg)',
xl: 'var(--radius-xl)',
'2xl': 'var(--radius-2xl)',
'3xl': 'var(--radius-3xl)',
full: 'var(--radius-full)'
},
boxShadow: {
glass: '0 20px 60px -30px rgba(15, 23, 42, 0.45)'
},
backdropBlur: {
xs: '2px'
},
transitionTimingFunction: {
'ease-out-quad': 'var(--ease-out-quad)',
'ease-in-out-sine': 'var(--ease-in-out-sine)',
'ease-out-expo': 'var(--ease-out-expo)',
'ease-out-quint': 'var(--ease-out-quint)'
},
animation: {
'fade-in': 'fadeIn var(--duration-smooth) var(--ease-out-quad) forwards',
shimmer: 'shimmer 1.8s linear infinite',
'gradient-x': 'gradient-x 3s ease infinite'
},
keyframes: {
fadeIn: { from: { opacity: '0' }, to: { opacity: '1' } },
shimmer: {
'0%': { backgroundPosition: '-100% 0' },
'100%': { backgroundPosition: '200% 0' }
},
'gradient-x': {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' }
},
heroWordCycle1: {
'0%, 42%': { transform: 'translateY(0)' },
'50%, 92%': { transform: 'translateY(-50%)' },
'100%': { transform: 'translateY(0)' }
},
heroWordCycle2: {
'0%, 42%': { transform: 'translateY(0)' },
'50%, 92%': { transform: 'translateY(-50%)' },
'100%': { transform: 'translateY(0)' }
}
}
}
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')]
};
export default config;