-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
55 lines (55 loc) · 1.39 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
51
52
53
54
55
/* eslint-disable no-undef */
// https://tailwindcss.com/docs/content-configuration
module.exports = {
content: [
'../../content/**/*.md',
'./layouts/**/*.html',
'./assets/js/*.js',
'./assets/css/*.css',
],
darkMode: 'media',
plugins: [
require('@tailwindcss/forms')({strategy: 'class'}),
],
safelist: [
'ui-badge-tip-wrap',
'ui-badge-indigo-wrap',
],
theme: {
extend: {
animation: {
'back-out-right': 'back-out-right 1s 1',
'flip-in-x': 'flip-in-x 1s 1',
},
keyframes: {
'back-out-right': {
'0%': {
transform: 'scale(1)',
opacity: '1',
},
'100%': {
transform: 'scale(0)',
opacity: '0',
},
},
'flip-in-x': {
from: {
transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
'animation-timing-function': 'ease-in',
opacity: '0',
},
'40%': {
transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
'animation-timing-function': 'ease-in',
},
'60%': {
transform: 'perspective(400px) rotate3d(1, 0, 0, 10deg)',
opacity: '1',
},
'80%': {transform: 'perspective(400px) rotate3d(1, 0, 0, -5deg)'},
to: {transform: 'perspective(400px)'},
},
},
},
},
};