-
Notifications
You must be signed in to change notification settings - Fork 45
/
tailwind.config.js
executable file
·42 lines (42 loc) · 1 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
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
animation: {
modal: 'modal 0.5s',
'drawer-right': 'drawer-right 0.3s',
'drawer-left': 'drawer-left 0.3s',
'drawer-top': 'drawer-top 0.3s',
'drawer-bottom': 'drawer-bottom 0.3s',
},
keyframes: {
modal: {
'0%, 100%': { opacity: 0 },
'100%': { opacity: 1 },
},
'drawer-right': {
'0%, 100%': { right: '-500px' },
'100%': { right: '0' },
},
'drawer-left': {
'0%, 100%': { left: '-500px' },
'100%': { left: '0' },
},
'drawer-top': {
'0%, 100%': { top: '-500px' },
'100%': { top: '0' },
},
'drawer-bottom': {
'0%, 100%': { bottom: '-500px' },
'100%': { bottom: '0' },
},
},
fontFamily: {
inter: ['Inter'],
body: ['Open Sans'],
},
},
},
variants: {},
plugins: [],
};