-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
32 lines (30 loc) · 879 Bytes
/
Copy pathtailwind.config.ts
File metadata and controls
32 lines (30 loc) · 879 Bytes
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
import type { Config } from 'tailwindcss'
const config: Config = {
darkMode: 'class',
content: ['./src/**/*.{ts,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-sans)', 'ui-sans-serif', 'system-ui', 'sans-serif'],
},
keyframes: {
'fade-in': { from: { opacity: '0' }, to: { opacity: '1' } },
'scale-in': {
from: { opacity: '0', transform: 'scale(0.97)' },
to: { opacity: '1', transform: 'scale(1)' },
},
'slide-up': {
from: { opacity: '0', transform: 'translateY(8px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
},
animation: {
'fade-in': 'fade-in 0.2s ease-out',
'scale-in': 'scale-in 0.15s ease-out',
'slide-up': 'slide-up 0.25s ease-out',
},
},
},
plugins: [],
}
export default config