-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (42 loc) · 1.07 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
module.exports = {
content: [
'src/vue-components/*.vue',
'src/App.vue',
'src/composables/*.js'
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
zIndex: {
'1000': 1000,
'2000': 2000,
},
// animation class
animation: {
fadein: 'fadeIn 500ms ease-in',
fadeout: 'fadeOut 500ms ease-out',
},
// actual animation
keyframes: theme => ({
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'100%': { opacity: '1' },
'0%': { opacity: '0' },
},
}),
},
},
variants: {
extend: {
backgroundColor: ['checked'],
borderColor: ['checked'],
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
};