-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
50 lines (50 loc) · 1.36 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
fontFamily: {
preBold: ['preBold'],
preExtraBold: ['preExtraBold'],
preExtraLight: ['preExtraLight'],
preLight: ['preExtraLight'],
preMedium: ['preMedium'],
preRegular: ['preRegular'],
preSemiBold: ['preSemiBold'],
preThin: ['preThin'],
},
spacing: {
17: '4.25rem',
p: '480px',
},
animation: {
'fade-in': 'fadeIn 2s ease-in-out',
shake: 'shake 1s ease-in-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
shake: {
'0%, 100%': { transform: 'translateX(0)' },
'10%, 30%, 50%, 70%, 90%': { transform: 'translateX(-4px)' },
'20%, 40%, 60%, 80%': { transform: 'translateX(4px)' },
},
'bottom-sheet-up': {
'0%': { transform: 'translateY(420px)' },
'100%': { transform: 'translateY(0)' },
},
'bottom-sheet-down': {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(420px)' },
},
},
},
},
plugins: [],
};