-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
62 lines (62 loc) · 1.29 KB
/
tailwind.config.js
File metadata and controls
62 lines (62 loc) · 1.29 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
module.exports = {
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {},
extend: {
animation: {
shak: 'shak .4s infinite'
},
keyframes: {
shak: {
'0%, 100%': { transform: 'translateX(0)' },
'50%': { transform: 'translateX(5px)' }
}
},
boxShadow: {
footer: '0 0 10px 0 hsl(0deg 6% 58% / 60%)'
},
height: {
header: 'var(--mall-header-height)',
footer: 'var(--mall-footer-height)'
},
margin: {
header: 'var(--mall-header-height)',
footer: 'var(--mall-footer-height)',
'2footer': 'var(--mall-2footer-height)'
},
inset: {
footer: 'var(--mall-footer-height)'
},
width: {
34: '8.5rem'
},
lineHeight: {
header: 'var(--mall-header-height)'
},
scale: {
25: '.25'
},
padding: {
full: '100%'
},
borderRadius: {
'1/2': '50%'
},
fontSize: {
mm: ['0.5rem', { lineHeight: '0.75rem' }]
},
minHeight: {
36: '9rem',
80: '20rem'
},
zIndex: {
full: '9999'
}
}
},
variants: {
extend: {}
},
plugins: []
}