-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtailwind.config.js
30 lines (29 loc) · 979 Bytes
/
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
// react-hot-toast
// https://github.com/timolins/react-hot-toast/blob/main/site/tailwind.config.js#L20
animation: {
enter: 'enter 200ms ease-out',
'slide-in': 'slide-in 1.2s cubic-bezier(.41,.73,.51,1.02)',
leave: 'leave 150ms ease-in forwards',
},
keyframes: {
enter: {
'0%': { transform: 'scale(0.9)', opacity: 0 },
'100%': { transform: 'scale(1)', opacity: 1 },
},
leave: {
'0%': { transform: 'scale(1)', opacity: 1 },
'100%': { transform: 'scale(0.9)', opacity: 0 },
}
},
},
},
plugins: [],
}