-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
46 lines (46 loc) · 1.63 KB
/
Copy pathtailwind.config.js
File metadata and controls
46 lines (46 loc) · 1.63 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
module.exports = {
darkMode: 'class',
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/lib/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
primary: '#ffff32',
},
keyframes: {
hide: {
from: { opacity: '1' },
to: { opacity: '0' },
},
dialogOverlayShow: {
from: { opacity: '0' },
to: { opacity: '1' },
},
drawerSlideLeftAndFade: {
from: { opacity: '0', transform: 'translateX(50%)' },
to: { opacity: '1', transform: 'translateX(0)' },
},
drawerSlideRightAndFade: {
from: { opacity: '1', transform: 'translateX(0)' },
to: { opacity: '0', transform: 'translateX(50%)' },
},
},
animation: {
hide: 'hide 150ms cubic-bezier(0.16, 1, 0.3, 1)',
dialogOverlayShow:
'dialogOverlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
drawerSlideLeftAndFade:
'drawerSlideLeftAndFade 150ms cubic-bezier(0.16, 1, 0.3, 1)',
drawerSlideRightAndFade:
'drawerSlideRightAndFade 150ms cubic-bezier(0.16, 1, 0.3, 1)',
},
},
},
plugins: [],
}