-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
37 lines (36 loc) · 1.01 KB
/
tailwind.config.ts
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
import { type Config } from 'tailwindcss'
import { fontFamily } from 'tailwindcss/defaultTheme'
import tailwindcssRadixColors from 'tailwindcss-radix-colors'
export default {
darkMode: 'class',
content: ['./src/**/*.tsx'],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-inter)', ...fontFamily.sans]
},
keyframes: {
'collapsible-down': {
from: { height: '0' },
to: { height: 'var(--radix-collapsible-content-height)' }
},
'collapsible-up': {
from: { height: 'var(--radix-collapsible-content-height)' },
to: { height: '0' }
}
},
animation: {
'collapsible-down': 'collapsible-down 0.2s ease-out',
'collapsible-up': 'collapsible-up 0.2s ease-in'
},
screens: {
'radix-xs': '520px',
'radix-sm': '768px',
'radix-md': '1024px',
'radix-lg': '1280px',
'radix-xl': '1640px'
}
}
},
plugins: [tailwindcssRadixColors]
} satisfies Config