-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
68 lines (66 loc) · 1.95 KB
/
tailwind.config.ts
File metadata and controls
68 lines (66 loc) · 1.95 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
import type { Config } from 'tailwindcss'
const config: Config = {
content: ['./src/**/*.{ts,tsx}', './index.html'],
theme: {
extend: {
colors: {
bg: {
primary: 'var(--bg-primary)',
secondary: 'var(--bg-secondary)',
sidebar: 'var(--bg-sidebar)',
'sidebar-hover': 'var(--bg-sidebar-hover)',
'sidebar-active': 'var(--bg-sidebar-active)',
input: 'var(--bg-input)',
'message-user': 'var(--bg-message-user)',
'message-ai': 'var(--bg-message-ai)'
},
text: {
primary: 'var(--text-primary)',
secondary: 'var(--text-secondary)',
tertiary: 'var(--text-tertiary)',
link: 'var(--text-link)'
},
border: {
primary: 'var(--border-primary)',
input: 'var(--border-input)',
focus: 'var(--border-focus)'
},
accent: {
primary: 'var(--accent-primary)',
hover: 'var(--accent-hover)',
light: 'var(--accent-light)'
}
},
fontFamily: {
sans: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Helvetica Neue', 'Arial', 'sans-serif'],
mono: ['SF Mono', 'Fira Code', 'Consolas', 'monospace']
},
boxShadow: {
sm: 'var(--shadow-sm)',
md: 'var(--shadow-md)',
lg: 'var(--shadow-lg)'
},
animation: {
'fade-in': 'fadeIn 0.12s ease-out',
'slide-up': 'slideUp 0.15s ease-out',
'cursor-blink': 'cursorBlink 1s step-end infinite'
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(8px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
},
cursorBlink: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' }
}
}
}
},
plugins: []
}
export default config