-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
57 lines (57 loc) · 1.87 KB
/
tailwind.config.js
File metadata and controls
57 lines (57 loc) · 1.87 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['class'],
content: ['./index.html', './src/**/*.{ts,tsx}'],
theme: {
extend: {
fontFamily: {
mono: ['JetBrains Mono', 'Fira Code', 'monospace'],
sans: ['Geist', 'system-ui', 'sans-serif'],
},
colors: {
bg: {
base: 'var(--bg-base)',
surface: 'var(--bg-surface)',
raised: 'var(--bg-raised)',
overlay: 'var(--bg-overlay)',
},
border: {
subtle: 'var(--border-subtle)',
base: 'var(--border-base)',
strong: 'var(--border-strong)',
},
accent: {
DEFAULT: 'var(--accent)',
dim: 'var(--accent-dim)',
hover: 'var(--accent-hover)',
},
text: {
primary: 'var(--text-primary)',
secondary: 'var(--text-secondary)',
muted: 'var(--text-muted)',
}
},
animation: {
'fade-in': 'fadeIn 0.2s ease-out',
'slide-up': 'slideUp 0.3s ease-out',
'slide-in-left': 'slideInLeft 0.3s ease-out',
'shimmer': 'shimmer 2s linear infinite',
'theme-switch': 'themeSwitch 0.3s ease-in-out',
},
keyframes: {
fadeIn: { from: { opacity: '0' }, to: { opacity: '1' } },
slideUp: { from: { opacity: '0', transform: 'translateY(8px)' }, to: { opacity: '1', transform: 'translateY(0)' } },
slideInLeft: { from: { opacity: '0', transform: 'translateX(-100%)' }, to: { opacity: '1', transform: 'translateX(0)' } },
shimmer: { from: { backgroundPosition: '-200% 0' }, to: { backgroundPosition: '200% 0' } },
themeSwitch: {
'0%': { opacity: '0.8' },
'100%': { opacity: '1' }
},
},
transitionProperty: {
'theme': 'background-color, border-color, color, fill, stroke',
}
},
},
plugins: [],
}